diff options
author | Shauren <shauren.trinity@gmail.com> | 2017-12-29 16:43:54 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2017-12-30 00:26:38 +0100 |
commit | d66f14096068ee1ffa19461b68e07095ef68a778 (patch) | |
tree | cbd6b6962cabb0550761082b207e7ab55fa1108d /dep/CascLib/src/CascPort.h | |
parent | 7bb62cd23de167788b4c3dc330cdf8b5baeddc8c (diff) |
Dep/CascLib: Update to ladislav-zezula/CascLib@c63818ecf8d998fae811a2d6db23045f4f6e36a1
Diffstat (limited to 'dep/CascLib/src/CascPort.h')
-rw-r--r-- | dep/CascLib/src/CascPort.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/dep/CascLib/src/CascPort.h b/dep/CascLib/src/CascPort.h index 7b5a2535381..5d9a7104f7b 100644 --- a/dep/CascLib/src/CascPort.h +++ b/dep/CascLib/src/CascPort.h @@ -25,11 +25,16 @@ // In MSVC 8.0, there are some functions declared as deprecated. #if _MSC_VER >= 1400 - #define _CRT_SECURE_NO_DEPRECATE - #define _CRT_NON_CONFORMING_SWPRINTFS + #ifndef _CRT_SECURE_NO_DEPRECATE + #define _CRT_SECURE_NO_DEPRECATE + #endif + #ifndef _CRT_NON_CONFORMING_SWPRINTFS + #define _CRT_NON_CONFORMING_SWPRINTFS + #endif #endif + #ifndef WIN32_LEAN_AND_MEAN - #define WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN #endif #include <tchar.h> |