소스 검색

* define PIC when generating pic

git-svn-id: trunk@3504 -
florian 19 년 전
부모
커밋
9b75d87b55
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  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;