Socket.st
changeset 5443 3eac683cfb1d
parent 5442 c3fa7c4f818f
child 5445 41990ba5aeff
--- a/Socket.st	Wed Feb 05 16:09:02 2020 +0100
+++ b/Socket.st	Wed Feb 05 17:38:49 2020 +0100
@@ -4431,6 +4431,7 @@
     returnValue := -1. 
 
     %{
+# ifdef __win32__
         int sendResult;
         int wsaErrorNo;
         char *pBytes = __externalAddressVal(bytes);
@@ -4447,6 +4448,7 @@
         } else {
             returnValue = __MKSMALLINT(sendResult);
         }
+#endif // __win32__
     %}.
 
     returnValue < 0 ifTrue:[