more system-specific tweaks for windows port

This commit is contained in:
Joel Dice
2007-10-24 10:24:02 -06:00
parent 0f1a9bc77e
commit 5bfd90cfed
4 changed files with 38 additions and 12 deletions

View File

@ -26,9 +26,15 @@
# error "Unsupported architecture"
#endif
#ifdef __MINGW32__
# define SO_PREFIX ""
#else
# define SO_PREFIX "lib"
#endif
#ifdef __APPLE__
# define SO_SUFFIX ".jnilib"
#elseif defined __MINGW32__
#elif defined __MINGW32__
# define SO_SUFFIX ".dll"
#else
# define SO_SUFFIX ".so"