summaryrefslogtreecommitdiffstats
path: root/srclib
diff options
context:
space:
mode:
authorMladen Turk <mturk@apache.org>2006-10-15 09:03:14 +0200
committerMladen Turk <mturk@apache.org>2006-10-15 09:03:14 +0200
commit887abb59950b6e6c3782c9c07715758145153545 (patch)
tree008c7e88716694bfa5903a0a90a48a2ab79b8d6c /srclib
parentFix compile warning. The /wd:XXXX is invalid. It should (diff)
downloadapache2-887abb59950b6e6c3782c9c07715758145153545.tar.xz
apache2-887abb59950b6e6c3782c9c07715758145153545.zip
Revert 463929
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@464141 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'srclib')
-rw-r--r--srclib/pcre/dftables.c5
-rw-r--r--srclib/pcre/dftables.dsp4
2 files changed, 2 insertions, 7 deletions
diff --git a/srclib/pcre/dftables.c b/srclib/pcre/dftables.c
index 470a5fc417..8458c60f1c 100644
--- a/srclib/pcre/dftables.c
+++ b/srclib/pcre/dftables.c
@@ -46,11 +46,6 @@ locale and used as the default tables by PCRE. Now that pcre_maketables is
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>
diff --git a/srclib/pcre/dftables.dsp b/srclib/pcre/dftables.dsp
index 8f5c89f1f1..6c07350006 100644
--- a/srclib/pcre/dftables.dsp
+++ b/srclib/pcre/dftables.dsp
@@ -42,7 +42,7 @@ RSC=rc.exe
# 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 /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 BASE RSC /l 0x809 /d "NDEBUG"
# ADD RSC /l 0x809 /d "NDEBUG"
BSC32=bscmake.exe
@@ -68,7 +68,7 @@ LINK32=link.exe
# 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 /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 BASE RSC /l 0x809 /d "_DEBUG"
# ADD RSC /l 0x809 /d "_DEBUG"
BSC32=bscmake.exe