Does FPC GO32 define a unique Compiler Directive? lazarus / 68-Other OS ---------------------------------------------------------------------- Ozz_Nixon · 2025-09-28 23:09 I have code that currently is compiled using DosPascal - and I am porting to GO32 target - just for compatibility tests. However, I cannot reference $IFDEF FPC - I need to be able to drop a couple USES UNITS $IFDEF GO32 - but, that does not exist. :-( Thanks a Million! Ozz ---------------------------------------------------------------------- Awkward · 2025-09-29 04:58 You must check programmes guide. Appendix It gives defines for go32v2  as GO32V2 or DPMI ---------------------------------------------------------------------- PascalDragon · 2025-09-29 18:57 Quote from: Ozz_Nixon on September 29, 2025, 01:09:22 amHowever, I cannot reference $IFDEF FPC - I need to be able to drop a couple USES UNITS $IFDEF GO32 - but, that does not exist. :-( Why can't you check for the FPC define? As Awkward said, for the i386-go32v2 target the define is GO32V2.