more windows port fixes

This commit is contained in:
Joel Dice
2007-10-24 11:24:19 -06:00
parent f2f453cf75
commit eaf1d205cd
10 changed files with 73 additions and 42 deletions

View File

@ -5,8 +5,10 @@
#include "jni.h"
#include "jni-util.h"
#undef JNIEXPORT
#define JNIEXPORT __attribute__ ((visibility("default")))
#ifndef WIN32
# undef JNIEXPORT
# define JNIEXPORT __attribute__ ((visibility("default")))
#endif
extern "C" JNIEXPORT jlong JNICALL
Java_java_util_zip_Inflater_make