summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/WinterSpeak/general/optimise/aggressive_optimise.h
blob: 6494bf6eb953f61eb83b85e26da221c5ae7a9fdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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