File tree Expand file tree Collapse file tree 6 files changed +9
-3
lines changed Expand file tree Collapse file tree 6 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 8787#include < stdlib.h>
8888#include < string.h>
8989#include < stdio.h>
90- #include < strstrea.h>
9190#include < sys/stat.h>
9291#include < time.h>
9392#include < winuser.h>
Original file line number Diff line number Diff line change 3131#include < windows.h>
3232#include < initguid.h>
3333#include < olectl.h>
34+ #if defined(_MSC_VER) && _MSC_VER < 1300
3435#include < mapicode.h>
36+ #endif
3537#include " RESOURCE.H"
3638#include " WINBLOWS.H"
3739#include < crtdbg.h>
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ your hashing function is good.
4444#include < stdlib.h>
4545#include < string.h>
4646#include < assert.h>
47+ #include < crtdbg.h>
4748
4849#include " wstypes.h"
4950
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ your hashing function is good.
4444#include < stdlib.h>
4545#include < string.h>
4646#include < assert.h>
47+ #include < crtdbg.h>
4748
4849#include " wstypes.h"
4950
Original file line number Diff line number Diff line change @@ -433,7 +433,9 @@ void __RPC_STUB IRTPatcherEvent_OnTermination_Stub(
433433/* interface IChat */
434434/* [object][unique][helpstring][uuid] */
435435
436+ #if defined(_MSC_VER) && _MSC_VER < 1300
436437typedef long time_t ;
438+ #endif
437439
438440typedef
439441enum Locale
Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ extern char g_wolapiRealFilename[MAX_PATH];
3939extern char g_generalsFilename [MAX_PATH ];
4040extern char g_generalsSerial [];
4141
42- static MAJOR (unsigned long x ) { return (((x ) & 0xffff0000 ) >> 16 ); }
43- static MINOR (unsigned long x ) { return ((x ) & 0xffff ); }
42+ // TheSuperHackers @todo Check if this should be returning unsigned long.
43+ static int MAJOR (unsigned long x ) { return (((x ) & 0xffff0000 ) >> 16 ); }
44+ static int MINOR (unsigned long x ) { return ((x ) & 0xffff ); }
4445
4546#endif // __WOLSETUP_H__
You can’t perform that action at this time.
0 commit comments