Explorar o código

* cwstring and threads in correct location

Michael VAN CANNEYT %!s(int64=2) %!d(string=hai) anos
pai
achega
89211cef39
Modificáronse 1 ficheiros con 5 adicións e 7 borrados
  1. 5 7
      packages/fcl-web/examples/simpleserver/simpleserver.pas

+ 5 - 7
packages/fcl-web/examples/simpleserver/simpleserver.pas

@@ -16,7 +16,7 @@
 {$h+}
 
 { $DEFINE USEGNUTLS}
-{ $DEFINE USEMICROHTTP}
+{$DEFINE USEMICROHTTP}
 
 program simpleserver;
 
@@ -25,9 +25,10 @@ program simpleserver;
 {$ENDIF}
 
 uses
-
-
-
+{$IFDEF UNIX}
+  cwstring,
+  cthreads,
+{$ENDIF}
 {$IFNDEF USEMICROHTTP}
 {$ifdef USEGNUTLS}
   gnutlssockets,
@@ -36,9 +37,6 @@ uses
 {$endif}
   custhttpapp,
 {$ELSE}
-{$ifdef unix}
-  cthreads,
-{$endif}  
   custmicrohttpapp,
 {$ENDIF}
   {$ifdef unix}