(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 6524 c7c22661b78d
parent 6523 bbc566ffb999
child 6525 a21429c6f16f
(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__