diff options
author | Ivan Zhakov <ivan@apache.org> | 2022-07-10 11:36:15 +0000 |
---|---|---|
committer | Ivan Zhakov <ivan@apache.org> | 2022-07-10 11:36:15 +0000 |
commit | e699774b42243e95e316291d93099a5a91485ecc (patch) | |
tree | 1ef500da01fc02661982ace515a6344862b1d17c /include | |
parent | 10d5a8c4788f1b3f99266c83d1203112f3d9e511 (diff) | |
download | apr-e699774b42243e95e316291d93099a5a91485ecc.tar.gz |
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/trunk@1902628 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-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 7082d43b3..a18ca8bb7 100644 --- a/include/apr.hwc +++ b/include/apr.hwc @@ -63,16 +63,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 - /** * @file apr.h * @brief APR Platform Definitions @@ -724,9 +714,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 /* APR_H */ |