src/os/macosx/osx_stdafx.h
author terom@terom-desktop
Thu, 24 Jul 2008 16:18:29 +0300
changeset 11185 5036deb1fcaf
parent 10429 1b99254f9607
permissions -rw-r--r--
fix check_available_write_cb buffer-growing logic
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
10429
1b99254f9607 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
rubidium
parents: 8623
diff changeset
     3
/** @file osx_stdafx.h OSX is different on some places. */
1b99254f9607 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
rubidium
parents: 8623
diff changeset
     4
3016
c63fb93fa1a0 (svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff changeset
     5
#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
     6
#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
     7
c63fb93fa1a0 (svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff changeset
     8
#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
     9
// 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
    10
#undef bool
c63fb93fa1a0 (svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff changeset
    11
#undef false
c63fb93fa1a0 (svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff changeset
    12
#undef true
c63fb93fa1a0 (svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff changeset
    13
c63fb93fa1a0 (svn r3596) -Codechange: [OSX] changed to use Apple's macros instead of OTTD macros for endian conversion
bjarni
parents:
diff changeset
    14
/* Name conflict */
8623
652df321c912 (svn r11688) -Fix [FS#1581]: Compilation was broken on OS X again.
egladil
parents: 5726
diff changeset
    15
#define GetTime		OTTD_GetTime
3016
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 */