os/macosx/osx_stdafx.h
changeset 3016 958672b0f8e2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/os/macosx/osx_stdafx.h	Sun Feb 12 14:31:33 2006 +0000
@@ -0,0 +1,19 @@
+/* $Id$ */
+
+#ifndef MACOS_STDAFX_H
+#define MACOS_STDAFX_H
+
+#include <CoreServices/CoreServices.h>
+// remove the variables that CoreServices defines, but we define ourselves too
+#undef bool
+#undef false
+#undef true
+
+/* Name conflict */
+#define Rect		OTTDRect
+#define Point		OTTDPoint
+#define GetTime		OTTDGetTime
+
+#define SL_ERROR OSX_SL_ERROR
+
+#endif /* MACOS_STDAFX_H */