]> git.saurik.com Git - wxWidgets.git/commitdiff
gsocket update. Fix for EMX broke VA.
authorDavid Webster <Dave.Webster@bhmi.com>
Mon, 20 Mar 2000 14:47:47 +0000 (14:47 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Mon, 20 Mar 2000 14:47:47 +0000 (14:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/gsocket.c

index 8ba4efe94a37ca7e31e2dd789f499fccfb1c4cf5..44ff3ad5ff84be2beab7b638d5a318c725d61274 100644 (file)
@@ -80,10 +80,19 @@ int _System soclose(int);
 
 /* Global initialisers */
 
+#if !defined(__VISAGECPP__)
+
 int GSocket_Init()
 {
   return 1;
 }
+#else
+bool GSocket_Init()
+{
+  return 1;
+}
+
+#endif
 
 void GSocket_Cleanup()
 {