author | tron |
Sat, 28 Oct 2006 11:48:21 +0000 | |
changeset 4980 | bdc86a42db2c |
parent 3016 | c63fb93fa1a0 |
permissions | -rw-r--r-- |
3016
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
1 |
/* $Id$ */ |
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
2 |
|
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
3 |
#ifndef MACOS_STDAFX_H |
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
4 |
#define MACOS_STDAFX_H |
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
5 |
|
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
6 |
#include <CoreServices/CoreServices.h> |
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
7 |
// remove the variables that CoreServices defines, but we define ourselves too |
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
8 |
#undef bool |
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
9 |
#undef false |
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
10 |
#undef true |
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
11 |
|
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
12 |
/* Name conflict */ |
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
13 |
#define Rect OTTDRect |
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
14 |
#define Point OTTDPoint |
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
15 |
#define GetTime OTTDGetTime |
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
16 |
|
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
17 |
#define SL_ERROR OSX_SL_ERROR |
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
18 |
|
c63fb93fa1a0
(svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff
changeset
|
19 |
#endif /* MACOS_STDAFX_H */ |