Skip to content

Commit

Permalink
update sunos-x86* natives
Browse files Browse the repository at this point in the history
  • Loading branch information
twall committed Jun 5, 2013
1 parent e5dcc56 commit acf06d7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file modified lib/native/sunos-x86-64.jar
Binary file not shown.
Binary file modified lib/native/sunos-x86.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion native/dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#include <dlfcn.h>
#include <errno.h>
#define STRTYPE char*
#ifdef __sparc__ // TODO: check solaris/x86
#ifdef __sun__ // solaris sparc and x86/amd64 use default (file.encoding)
#define NAME2CSTR(ENV,JSTR) newCString(ENV,JSTR)
#else
#define NAME2CSTR(ENV,JSTR) newCStringUTF8(ENV,JSTR)
Expand Down
2 changes: 1 addition & 1 deletion native/dispatch.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "ffi.h"
#include "com_sun_jna_Function.h"
#include "com_sun_jna_Native.h"
#if defined(sun) || defined(_AIX)
#if defined(__sun__) || defined(_AIX)
# include <alloca.h>
#endif
#ifdef _WIN32
Expand Down

0 comments on commit acf06d7

Please sign in to comment.