Browse Source

* define PIC when generating pic

git-svn-id: trunk@3504 -
florian 19 năm trước cách đây
mục cha
commit
9b75d87b55
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  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;