]> git.saurik.com Git - wxWidgets.git/commitdiff
Added _GSOCKET_STANDALONE_ symbol
authorGuillermo Rodriguez Garcia <guille@iies.es>
Wed, 15 Sep 1999 00:02:49 +0000 (00:02 +0000)
committerGuillermo Rodriguez Garcia <guille@iies.es>
Wed, 15 Sep 1999 00:02:49 +0000 (00:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/gsockmsw.h

index 001c18be4668064777603040812092fdd3da0bde..38105d5fa281edfb6f73d4bff34ed6bd49c337e4 100644 (file)
@@ -9,7 +9,7 @@
 #ifndef __GSOCK_MSW_H
 #define __GSOCK_MSW_H
 
-#ifdef __WXMSW__
+#ifndef __GSOCKET_STANDALONE__
 #include "wx/gsocket.h"
 #else
 #include "gsocket.h"
 #include <winsock.h>
 
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Definition of GSocket */
 struct _GSocket
 {
@@ -51,10 +55,6 @@ struct _GAddress
 };
 
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 /* Input / output */
 
 GSocketError _GSocket_Input_Timeout(GSocket *socket);