add unitfork.pas to uses clause of test app so it's compilation gets checked
[lcore.git] / lcore.pas
index 77bf4f0674db0b63eebc8df4346c44fb19c7be60..7db6b3ef2e5e50b5a54043ee0989a3fe7b10eace 100755 (executable)
--- a/lcore.pas
+++ b/lcore.pas
@@ -573,16 +573,16 @@ begin
           internalclose(0);\r
 \r
         end else begin\r
-          {$ifdef win32}
-          if getlasterror=WSAEWOULDBLOCK then begin
-            //the asynchronous nature of windows messages means we sometimes
-            //get here with the buffer full
-            //so do nothing in that case
-          end else
-          {$endif}
-          begin
+          {$ifdef win32}\r
+          if getlasterror=WSAEWOULDBLOCK then begin\r
+            //the asynchronous nature of windows messages means we sometimes\r
+            //get here with the buffer full\r
+            //so do nothing in that case\r
+          end else\r
+          {$endif}\r
+          begin\r
             internalclose({$ifdef win32}getlasterror{$else}linuxerror{$endif});\r
-          end  
+          end  \r
         end;\r
       end;\r
 \r