tb0414.pp 701 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. { %CPU=m68k }
  2. { This tests the $E+ compiler
  3. switch. It verifies if the
  4. switch is correctly enabled
  5. depending on the target OS
  6. for m68k.
  7. }
  8. program tb0414;
  9. {$ifdef amiga}
  10. { Emulation is off by default }
  11. {$ifopt E-}
  12. {$error Emulation is disabled by default for amiga!!}
  13. {$endif}
  14. {$endif}
  15. {$ifdef atari}
  16. { Emulation is off by default }
  17. {$ifopt E-}
  18. {$error Emulation is disabled by default for amiga!!}
  19. {$endif}
  20. {$endif}
  21. {$ifdef netbsd}
  22. { Emulation is on by default }
  23. {$ifopt E+}
  24. {$error Emulation is enabled by default for unix!!}
  25. {$endif}
  26. {$endif}
  27. {$ifdef linux}
  28. { Emulation is on by default }
  29. {$ifopt E+}
  30. {$error Emulation is enabled by default for unix!!}
  31. {$endif}
  32. {$endif}
  33. Begin
  34. End.