diff options
author | Ivan Zhakov <ivan@apache.org> | 2023-05-15 14:30:14 +0000 |
---|---|---|
committer | Ivan Zhakov <ivan@apache.org> | 2023-05-15 14:30:14 +0000 |
commit | 325fed97f95db7baa86827908c4efa4e638c9b3f (patch) | |
tree | 03c8aff41568ba7164a52546ba5f5a2a700e0d72 /include/apr.hwc | |
parent | c9d115732f6517b8f28b0d07d259476bac338034 (diff) | |
download | apr-1.7.x.tar.gz |
On 1.7.x branch: Merge 1902628 and 1902629 from trunk:1.7.x
win32: Move warning settings to CMakeLists.txt compile options instead of
changing them in include/apr.h: otherwise any application the uses APR gets
warning settings from APR.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.7.x@1909838 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr.hwc')
-rw-r--r-- | include/apr.hwc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/apr.hwc b/include/apr.hwc index ef00a45bb..f6672ce54 100644 --- a/include/apr.hwc +++ b/include/apr.hwc @@ -64,16 +64,6 @@ #pragma warning(disable: 4100 4127 4163 4201 4514; once: 4057 4075 4244) #endif -/* Ignore Microsoft's interpretation of secure development - * 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 - /* Has windows.h already been included? If so, our preferences don't matter, * but we will still need the winsock things no matter what was included. * If not, include a restricted set of windows headers to our tastes. @@ -654,9 +644,6 @@ typedef int gid_t; */ #if defined(_MSC_VER) && _MSC_VER >= 1200 #pragma warning(pop) -#if _MSC_VER >= 1400 -#pragma warning(disable: 4996) -#endif #endif #endif /* WIN32 */ |