]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Begone shitty safe stl warnings!
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 20 May 2007 03:49:00 +0000 (03:49 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 20 May 2007 03:49:00 +0000 (03:49 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7056 e03df62e-2008-0410-955e-edbf42e46eb7

win/inspircd_win32wrapper.h

index 6ce3c6888f95dcaf907c0952868207745d774034..ee3062b78242b6e6783b899c32f0a81efbe4dc8c 100644 (file)
    I think this is more reasonable than using WIN32, especially if we're gonna be doing 64-bit compiles */\r
 #define WINDOWS 1\r
 \r
+/* Begone shitty 'safe STL' warnings */\r
+#define _SCL_SECURE_NO_WARNINGS\r
+#define _CRT_SECURE_NO_WARNINGS\r
+#define _AFX_SECURE_NO_WARNINGS\r
+#define _ATL_SECURE_NO_WARNINGS\r
+\r
 /* Macros for exporting symbols - dependant on what is being compiled */\r
 \r
 #ifdef DLL_BUILD\r