aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/ogl/gldefs.h
diff options
context:
space:
mode:
authorChien Yang <[email protected]>2007-01-09 22:31:49 +0000
committerChien Yang <[email protected]>2007-01-09 22:31:49 +0000
commit5f77aa7b33af62561a03c2f1f0b2a14c72acc6f9 (patch)
tree8b99fc435a7adda178b1625433f2cd6a7f451048 /src/native/ogl/gldefs.h
parent829409e643e1d86bcdf1bede35da824efcffa415 (diff)
VC8 ready. Removed obsolete option, and suppress VC8 deprecated warning.
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@766 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/native/ogl/gldefs.h')
-rw-r--r--src/native/ogl/gldefs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/native/ogl/gldefs.h b/src/native/ogl/gldefs.h
index e278f1d..b0c225a 100644
--- a/src/native/ogl/gldefs.h
+++ b/src/native/ogl/gldefs.h
@@ -13,6 +13,11 @@
#ifndef _Java3D_gldefs_h_
#define _Java3D_gldefs_h_
+#if defined(WIN32)
+#define _CRT_SECURE_NO_DEPRECATE // shut up the vs2005 compiler
+#define _CRT_NONSTDC_NO_DEPRECATE
+#endif
+
/*
* Portions of this code were derived from work done by the Blackdown
* group (www.blackdown.org), who did the initial Linux implementation