]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed fixups to allow EMX to compile again.
authorStefan Neis <Stefan.Neis@t-online.de>
Sat, 22 Jan 2000 22:26:10 +0000 (22:26 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sat, 22 Jan 2000 22:26:10 +0000 (22:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/gsocket.c

index 911bf30bad50d583e770028099b4480e792cabc1..48f2599c9df9769c56ab199f5080c573184fbbb7 100644 (file)
@@ -7,7 +7,12 @@
  */
 
 #include "wx/setup.h"
+#ifndef __EMX__
+/* I don't see, why this include is needed, but it seems to be necessary
+   sometimes. For EMX, including C++ headers into plain C source breaks
+   compilation, so don't do it there.                                   */
 #include "wx/defs.h"
+#endif
 
 #if wxUSE_SOCKETS