(svn r9711) -Fix: don't include one system-header-file on MorphOS as it gives silly warnings and is unneeded for OpenTTD
authortruelight
Sat, 21 Apr 2007 13:20:20 +0000
changeset 7020 f24a9e27d290
parent 7019 bcbdf12d9094
child 7021 1004d4b66546
(svn r9711) -Fix: don't include one system-header-file on MorphOS as it gives silly warnings and is unneeded for OpenTTD
src/stdafx.h
--- a/src/stdafx.h	Sat Apr 21 13:19:43 2007 +0000
+++ b/src/stdafx.h	Sat Apr 21 13:20:20 2007 +0000
@@ -78,6 +78,9 @@
 # ifdef amiga
 #  undef amiga
 # endif
+/* Act like we already included this file, as it somehow gives linkage problems
+ *  (mismatch linkage of C++ and C between this include and unistd.h). */
+#define CLIB_USERGROUP_PROTOS_H
 #endif /* __MORPHOS__ */
 
 #ifdef __APPLE__