aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/ogl/j3dsys.h
diff options
context:
space:
mode:
authorChien Yang <[email protected]>2007-01-10 21:18:06 +0000
committerChien Yang <[email protected]>2007-01-10 21:18:06 +0000
commitd0a09b5d1acee7803235922335fb0f54a26eccb5 (patch)
treec514e69ec9154452aad8ec5d9547160454a48122 /src/native/ogl/j3dsys.h
parent9f29bb02627691061dd5eccacfcbc4895cef7b61 (diff)
1) VC7 and VC8 compile ready for ogl and d3d.
2) Cleanup d3d build.xml script to closely resemble ogl build.xml. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@768 ba19aa83-45c5-6ac9-afd3-db810772062c
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_ */