aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasyl Tsvirkunov2001-11-20 07:13:01 +0000
committerVasyl Tsvirkunov2001-11-20 07:13:01 +0000
commit7b959f62677cf18f52d53123a4d8eb819d01a828 (patch)
treed004df1b50fb509b0a0ece6f48f6e6c614e3f123
parent248ce87b2e1f15bd18c23536fe443f98b6bc17c0 (diff)
downloadscummvm-rg350-7b959f62677cf18f52d53123a4d8eb819d01a828.tar.gz
scummvm-rg350-7b959f62677cf18f52d53123a4d8eb819d01a828.tar.bz2
scummvm-rg350-7b959f62677cf18f52d53123a4d8eb819d01a828.zip
Added ability for ports to override all includes in stdafx.h. To use this feature
port must define symbol NONSTANDARD_PORT. Port must also provide port-specific portdefs.h with all includes, symbol defines and everything else port needs. svn-id: r3504
-rw-r--r--stdafx.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/stdafx.h b/stdafx.h
index f6804b6112..179111482b 100644
--- a/stdafx.h
+++ b/stdafx.h
@@ -2,6 +2,12 @@
* $Id$
*
* $Log$
+ * Revision 1.8 2001/11/20 07:13:01 vasyl
+ * Added ability for ports to override all includes in stdafx.h. To use this feature
+ * port must define symbol NONSTANDARD_PORT. Port must also provide
+ * port-specific portdefs.h with all includes, symbol defines and everything else
+ * port needs.
+ *
* Revision 1.7 2001/11/11 16:54:45 strigeus
* implemented some sam&max specific features,
* fixed some bugs
@@ -10,7 +16,12 @@
* Re-added changes to allow cygwin and beos cross-compilation.
*
*/
-#if defined(WIN32)
+
+#if defined(NONSTANDARD_PORT)
+
+#include <portdefs.h>
+
+#elif defined(WIN32)
#if _MSC_VER > 1000
#pragma once