]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gsocket.c
Compilaton fixes.
[wxWidgets.git] / src / msw / gsocket.c
index 6493dbfcec3078692f917369ab0f2554fce282c5..0a5ad3a4acad0c21ec6e6be35f7e8fb851749dc7 100644 (file)
@@ -3,6 +3,7 @@
  * Name:    gsocket.c
  * Author:  Guillermo Rodriguez Garcia <guille@iies.es>
  * Purpose: GSocket main MSW file
+ * Licence: The wxWindows licence
  * CVSID:   $Id$
  * -------------------------------------------------------------------------
  */
 #  define _GSocket_Disable_Events(socket)
 #endif /* wxUSE_GUI */
 
+#ifndef __WXWINCE__
 #include <assert.h>
+#else
+#define assert(x)
+#ifndef isdigit
+#define isdigit(x) (x > 47 && x < 58)
+#endif
+#include "wx/msw/wince/net.h"
+#endif
+
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>