ソースを参照

* cwstring and threads in correct location

Michael VAN CANNEYT 2 年 前
コミット
89211cef39
1 ファイル変更5 行追加7 行削除
  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}