Commit ce26234a authored by Sergey Lyubka's avatar Sergey Lyubka

Merge pull request #159 from aerotech/master

_CRT_SECURE_NO_WARNINGS should not generate a warning if already defined
parents 98b6c5e1 c28dc45d
...@@ -19,7 +19,9 @@ ...@@ -19,7 +19,9 @@
// THE SOFTWARE. // THE SOFTWARE.
#if defined(_WIN32) #if defined(_WIN32)
#if !defined(_CRT_SECURE_NO_WARNINGS)
#define _CRT_SECURE_NO_WARNINGS // Disable deprecation warning in VS2005 #define _CRT_SECURE_NO_WARNINGS // Disable deprecation warning in VS2005
#endif
#else #else
#ifdef __linux__ #ifdef __linux__
#define _XOPEN_SOURCE 600 // For flockfile() on Linux #define _XOPEN_SOURCE 600 // For flockfile() on Linux
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment