aboutsummaryrefslogtreecommitdiff
path: root/src/pdj.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdj.h')
-rw-r--r--src/pdj.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pdj.h b/src/pdj.h
index f8755e8..7906d47 100644
--- a/src/pdj.h
+++ b/src/pdj.h
@@ -35,6 +35,12 @@
#define JPOINTER_CAST (unsigned int)
#endif
+#ifdef WIN32GCC
+ #define DLLEXPORT __declspec(dllexport)
+#else
+ #define DLLEXPORT
+#endif
+
// the JVM takes 50M; I don't care taking 4K...
#define BUFFER_SIZE 4096