Ver Fonte

* define PIC when generating pic

git-svn-id: trunk@3504 -
florian há 19 anos atrás
pai
commit
9b75d87b55
1 ficheiros alterados com 4 adições e 1 exclusões
  1. 4 1
      compiler/pmodules.pas

+ 4 - 1
compiler/pmodules.pas

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