summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/WinterSpeak/general/optimise/aggressive_optimise.h
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-03-17 13:41:49 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-03-17 13:41:49 +0000
commit5e6e1e8838fe7637ef588e0fb080ad07fc5700aa (patch)
tree2cc32c95da0cf49f8361879eec1fa5a4a4b557d8 /plugins/!NotAdopted/WinterSpeak/general/optimise/aggressive_optimise.h
parent561f00a7d38c61ec30c5898b90766314011d32d8 (diff)
Winter Speak plugin added (not adopted)
git-svn-id: http://svn.miranda-ng.org/main/trunk@4076 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/WinterSpeak/general/optimise/aggressive_optimise.h')
-rw-r--r--plugins/!NotAdopted/WinterSpeak/general/optimise/aggressive_optimise.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/plugins/!NotAdopted/WinterSpeak/general/optimise/aggressive_optimise.h b/plugins/!NotAdopted/WinterSpeak/general/optimise/aggressive_optimise.h
new file mode 100644
index 0000000000..6494bf6eb9
--- /dev/null
+++ b/plugins/!NotAdopted/WinterSpeak/general/optimise/aggressive_optimise.h
@@ -0,0 +1,29 @@
+#ifndef guard_aggressive_optimise_h
+#define guard_aggressive_optimise_h
+//==============================================================================
+// General Code, © 2002 Ryan Winter
+//==============================================================================
+
+#ifdef NDEBUG
+
+// we define the WIN32_LEAN_AND_MEAN tag so that the quick windows
+// macros and functions are used. Using this should make a slight
+// performance improvement (even though we probably won't see it
+// in this program).
+#define WIN32_LEAN_AND_MEAN
+
+#pragma comment(linker,"/RELEASE")
+#pragma comment(linker,"/FILEALIGN:0x200")
+
+#endif
+
+//==============================================================================
+//
+// Summary : aggresively optimise the binary for size
+//
+// Description : uses various linker switches to decrease the size of the
+// binary
+//
+//==============================================================================
+
+#endif \ No newline at end of file