Procházet zdrojové kódy

* delphi mode uses packenum 1

peter před 22 roky
rodič
revize
3f2d99d04f
1 změnil soubory, kde provedl 11 přidání a 7 odebrání
  1. 11 7
      compiler/globals.pas

+ 11 - 7
compiler/globals.pas

@@ -139,9 +139,9 @@ interface
        utilsdirectory : dirstr;
        utilsdirectory : dirstr;
        { targetname specific prefix used by these utils (options -XP<path>) }
        { targetname specific prefix used by these utils (options -XP<path>) }
        utilsprefix    : dirstr;
        utilsprefix    : dirstr;
-       cshared	      : boolean;	{ pass --shared to ld to link C libs shared}
-       Dontlinkstdlibpath: Boolean;	{ Don't add std paths to linkpath}
-       rlinkpath      : dirstr;		{ rpath-link linkdir override}
+       cshared        : boolean;        { pass --shared to ld to link C libs shared}
+       Dontlinkstdlibpath: Boolean;     { Don't add std paths to linkpath}
+       rlinkpath      : dirstr;         { rpath-link linkdir override}
 
 
        { some flags for global compiler switches }
        { some flags for global compiler switches }
        do_build,
        do_build,
@@ -1340,8 +1340,9 @@ implementation
               if changeinit then
               if changeinit then
                exclude(initlocalswitches,cs_ansistrings);
                exclude(initlocalswitches,cs_ansistrings);
             end;
             end;
-           { enum packing }
-           if (m_tp7 in aktmodeswitches) then
+           { Default enum packing for delphi/tp7 }
+           if (m_tp7 in aktmodeswitches) or
+              (m_delphi in aktmodeswitches) then
              aktpackenum:=1
              aktpackenum:=1
            else
            else
              aktpackenum:=4;
              aktpackenum:=4;
@@ -1615,7 +1616,7 @@ implementation
       { Utils directory }
       { Utils directory }
         utilsdirectory:='';
         utilsdirectory:='';
         utilsprefix:='';
         utilsprefix:='';
-	cshared:=false;
+        cshared:=false;
         rlinkpath:='';
         rlinkpath:='';
 
 
       { Search Paths }
       { Search Paths }
@@ -1712,7 +1713,10 @@ implementation
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.111  2003-10-22 15:40:44  marco
+  Revision 1.112  2003-10-23 17:18:56  peter
+    * delphi mode uses packenum 1
+
+  Revision 1.111  2003/10/22 15:40:44  marco
    * -Xc -Xr support
    * -Xc -Xr support
 
 
   Revision 1.110  2003/10/22 15:22:33  peter
   Revision 1.110  2003/10/22 15:22:33  peter