diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-20 03:49:00 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-20 03:49:00 +0000 |
commit | 68213cd3e77f669da034da3c266c7ae085126eb9 (patch) | |
tree | 943b96d908dabab275c51a994569bf8bee43ab8c | |
parent | c537fcb35e8f016c1064048faff7ebe1c1ca15a5 (diff) |
Begone shitty safe stl warnings!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7056 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | win/inspircd_win32wrapper.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index 6ce3c6888..ee3062b78 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -22,6 +22,12 @@ I think this is more reasonable than using WIN32, especially if we're gonna be doing 64-bit compiles */
#define WINDOWS 1
+/* Begone shitty 'safe STL' warnings */
+#define _SCL_SECURE_NO_WARNINGS
+#define _CRT_SECURE_NO_WARNINGS
+#define _AFX_SECURE_NO_WARNINGS
+#define _ATL_SECURE_NO_WARNINGS
+
/* Macros for exporting symbols - dependant on what is being compiled */
#ifdef DLL_BUILD
|