Browse Source

small changes

Unknown 6 years ago
parent
commit
04d48b5c6d
3 changed files with 17 additions and 8 deletions
  1. 10 3
      QuickLib.inc
  2. 2 0
      quicklib.lpk
  3. 5 5
      quicklib.pas

+ 10 - 3
QuickLib.inc

@@ -1,4 +1,4 @@
-{
+{
     This file is part of QuickLib: https://github.com/exilon/QuickLib
 
     QuickLibs. Copyright (C) 2018 Kike Pérez
@@ -27,6 +27,10 @@
   {$INLINE ON}
   {$define HASINLINE}
 
+  {$ifdef LINUX}
+    {$define FPCLINUX}
+  {$endif}
+
   {$ifdef ANDROID}
     {$define LINUX}
   {$endif}
@@ -111,11 +115,14 @@
     {$ifend}
     {$if CompilerVersion >= 31.0} //Delphi RX10.1 Berlin
       {$define DELPHIRX101_UP}
-	  {$define DELPHIBERLIN_UP}
+	    {$define DELPHIBERLIN_UP}
     {$ifend}
     {$if CompilerVersion >= 32.0} //Delphi RX10.2 Tokyo
       {$define DELPHIRX102_UP}
-	  {$define DELPHITOKYO_UP}
+	    {$define DELPHITOKYO_UP}
+      {$ifdef LINUX}
+        {$define DELPHILINUX}
+      {$ifend}
     {$ifend}
   {$else}
     //Delphi 5 or older

+ 2 - 0
quicklib.lpk

@@ -23,6 +23,7 @@
       </Item1>
       <Item2>
         <Filename Value="Quick.AppService.pas"/>
+        <AddToUsesPkgSection Value="False"/>
         <UnitName Value="Quick.AppService"/>
       </Item2>
       <Item3>
@@ -31,6 +32,7 @@
       </Item3>
       <Item4>
         <Filename Value="Quick.Chrono.pas"/>
+        <AddToUsesPkgSection Value="False"/>
         <UnitName Value="Quick.Chrono"/>
       </Item4>
       <Item5>

+ 5 - 5
quicklib.pas

@@ -8,11 +8,11 @@ unit QuickLib;
 interface
 
 uses
-  Quick.Console, Quick.AppService, Quick.Base64, Quick.Chrono, Quick.Commons, 
-  Quick.FileMonitor, Quick.Files, Quick.Format, Quick.Log, Quick.Network, 
-  Quick.Process, Quick.Service, Quick.SMTP, Quick.Threads, Quick.Config, 
-  Quick.Config.Provider.Json, Quick.Config.Provider.Registry, 
-  Quick.Json.fpc.Compatibility, Quick.JSONRecord;
+  Quick.Console, Quick.Base64, Quick.Commons, Quick.FileMonitor, Quick.Files, 
+  Quick.Format, Quick.Log, Quick.Network, Quick.Process, Quick.Service, 
+  Quick.SMTP, Quick.Threads, Quick.Config, Quick.Config.Provider.Json, 
+  Quick.Config.Provider.Registry, Quick.Json.fpc.Compatibility, 
+  Quick.JSONRecord;
 
 implementation