summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-25 21:33:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-25 21:33:58 +0000
commitd3c94171230c35c5102b6529df4960e1b4e62a1d (patch)
tree70e594eef5cc0d01f90fb9d0550dd9f951346a8c /win
parentc3f992455f96c66ee5003476831d192f6665a8aa (diff)
Add defines that speed up the build process and reduce executable bloat
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7141 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'win')
-rw-r--r--win/inspircd_win32wrapper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h
index 37386d679..9ac6298b2 100644
--- a/win/inspircd_win32wrapper.h
+++ b/win/inspircd_win32wrapper.h
@@ -22,6 +22,10 @@
I think this is more reasonable than using WIN32, especially if we're gonna be doing 64-bit compiles */
#define WINDOWS 1
+/* Make builds smaller, leaner and faster */
+#define VC_EXTRALEAN
+#define WIN32_LEAN_AND_MEAN
+
/* Begone shitty 'safe STL' warnings */
#define _SCL_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS