Author: mturk
Date: Sat Oct 14 05:51:37 2006
New Revision: 463923

URL: http://svn.apache.org/viewvc?view=rev&rev=463923
Log:
Make sure the 4996 is disabled only for VS2005+

Modified:
    tomcat/connectors/trunk/jk/native/iis/pcre/dftables.c
    tomcat/connectors/trunk/jk/native/iis/pcre/dftables.dsp

Modified: tomcat/connectors/trunk/jk/native/iis/pcre/dftables.c
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/iis/pcre/dftables.c?view=diff&rev=463923&r1=463922&r2=463923
==============================================================================
--- tomcat/connectors/trunk/jk/native/iis/pcre/dftables.c (original)
+++ tomcat/connectors/trunk/jk/native/iis/pcre/dftables.c Sat Oct 14 05:51:37 
2006
@@ -46,6 +46,11 @@
 a function visible to the outside world, we make use of its code from here in
 order to be consistent. */
 
+#if defined(_MSC_VER) && _MSC_VER >= 1400
+#define _CRT_SECURE_NO_DEPRECATE
+#pragma warning(disable: 4996)
+#endif
+
 #include <ctype.h>
 #include <stdio.h>
 #include <string.h>

Modified: tomcat/connectors/trunk/jk/native/iis/pcre/dftables.dsp
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/iis/pcre/dftables.dsp?view=diff&rev=463923&r1=463922&r2=463923
==============================================================================
--- tomcat/connectors/trunk/jk/native/iis/pcre/dftables.dsp (original)
+++ tomcat/connectors/trunk/jk/native/iis/pcre/dftables.dsp Sat Oct 14 05:51:37 
2006
@@ -42,7 +42,7 @@
 # PROP Ignore_Export_Lib 0
 # PROP Target_Dir ""
 # ADD BASE CPP /nologo /MD /W3 /O2 /D "_WIN32" /D "NDEBUG" /D "_CONSOLE" /D 
"_MBCS" /Fd"Release\dftables" /FD /c
-# ADD CPP /nologo /MD /W3 /wd:4996 /O2 /D "_WIN32" /D "NDEBUG" /D "_CONSOLE" 
/D "_MBCS" /Fd"Release\dftables" /FD /c
+# ADD CPP /nologo /MD /W3 /O2 /D "_WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" 
/Fd"Release\dftables" /FD /c
 # ADD BASE RSC /l 0x809 /d "NDEBUG"
 # ADD RSC /l 0x809 /d "NDEBUG"
 BSC32=bscmake.exe
@@ -68,7 +68,7 @@
 # PROP Ignore_Export_Lib 0
 # PROP Target_Dir ""
 # ADD BASE CPP /nologo /MDd /W3 /EHsc /Zi /Od /D "_WIN32" /D "_DEBUG" /D 
"_CONSOLE" /D "_MBCS" /Fd"Debug\dftables" /FD /c
-# ADD CPP /nologo /MDd /W3 /wd:4996 /EHsc /Zi /Od /D "_WIN32" /D "_DEBUG" /D 
"_CONSOLE" /D "_MBCS" /Fd"Debug\dftables" /FD /c
+# ADD CPP /nologo /MDd /W3 /EHsc /Zi /Od /D "_WIN32" /D "_DEBUG" /D "_CONSOLE" 
/D "_MBCS" /Fd"Debug\dftables" /FD /c
 # ADD BASE RSC /l 0x809 /d "_DEBUG"
 # ADD RSC /l 0x809 /d "_DEBUG"
 BSC32=bscmake.exe



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to