aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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