diff --git a/compiler/pmodules.pas b/compiler/pmodules.pas index 1cd11b381f..5f7036d612 100644 --- a/compiler/pmodules.pas +++ b/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;