aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/ogl/j3dsys.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/native/ogl/j3dsys.h')
-rw-r--r--src/native/ogl/j3dsys.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/native/ogl/j3dsys.h b/src/native/ogl/j3dsys.h
new file mode 100644
index 0000000..ef77539
--- /dev/null
+++ b/src/native/ogl/j3dsys.h
@@ -0,0 +1,26 @@
+/*
+ * $RCSfile$
+ *
+ * Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved.
+ *
+ * Use is subject to license terms.
+ *
+ * $Revision$
+ * $Date$
+ * $State$
+ */
+
+#ifndef _j3dsys_h_
+#define _j3dsys_h_
+
+// Suppress VS2005 compiler warning
+#if defined(WIN32)
+#define _CRT_SECURE_NO_DEPRECATE
+#define _CRT_NONSTDC_NO_DEPRECATE
+#endif
+
+#if defined(LINUX)
+#define _GNU_SOURCE 1
+#endif
+
+#endif /* _j3dsys_h_ */