- Timestamp:
- 2013-01-10T16:30:25+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/packages/javagdbm/jni/gdbmjava.c
r10765 r26674 32 32 #include <string.h> 33 33 34 #if defined (__WIN32__) 34 #ifdef __MINGW32__ 35 #define MSDOS 36 #endif 37 38 #if defined (_MSC_VER) 35 39 #include <gdbmdefs.h> 36 40 #include <gdbmerrno.h> … … 42 46 43 47 #include <jni.h> 48 49 #ifdef __MINGW32__ 50 51 /* (Cross) compiling for Windows Want the type definitions in *win32* 52 version of jni_md.h but with the mingw c compiler this then leads 53 to C-mangled style functions (param/num args encoded in function 54 name) which we *don't* want. The following achieves this */ 55 56 #undef JNIEXPORT 57 #undef JNIIMPORT 58 #undef JNICALL 59 60 #define JNIEXPORT 61 #define JNIIMPORT 62 #define JNICALL 63 #endif 44 64 45 65 #include <GdbmFile.h>
Note:
See TracChangeset
for help on using the changeset viewer.