Browse Source

* define PIC when generating pic

git-svn-id: trunk@3504 -
florian 19 years ago
parent
commit
9b75d87b55
1 changed files with 4 additions and 1 deletions
  1. 4 1
      compiler/pmodules.pas

+ 4 - 1
compiler/pmodules.pas

@@ -686,7 +686,10 @@ implementation
            not(cs_browser in aktmoduleswitches) then
            not(cs_browser in aktmoduleswitches) then
           exclude(aktmoduleswitches,cs_local_browser);
           exclude(aktmoduleswitches,cs_local_browser);
         if (cs_create_pic in aktmoduleswitches) then
         if (cs_create_pic in aktmoduleswitches) then
-          def_system_macro('FPC_PIC');
+          begin
+            def_system_macro('FPC_PIC');
+            def_system_macro('PIC');
+          end;
       end;
       end;