summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2006-04-10 01:23:05 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2006-04-10 01:23:05 +0000
commit9a5d11785d07b91ce696cab72eca58b51d7acdf3 (patch)
tree20b79520dee360070c6e2e78beedc0fabce3dda8
parenta152155473308eb3dc20bf8c80d2b606e4e3bfe6 (diff)
downloadlibapr-9a5d11785d07b91ce696cab72eca58b51d7acdf3.tar.gz
Identified by Michael Jerris - work around projects where this was
defined by the user in *their* build that included apr.h[w]. Backports: 392864 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.2.x@392866 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--include/apr.hw2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/apr.hw b/include/apr.hw
index 0fd7bc99f..9131521ca 100644
--- a/include/apr.hw
+++ b/include/apr.hw
@@ -60,7 +60,9 @@
* and the POSIX string handling API
*/
#if defined(_MSC_VER) && _MSC_VER >= 1400
+#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
+#endif
#pragma warning(disable: 4996)
#endif