You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

delphidef.inc 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //{$DEFINE _FPC}
  2. {$DEFINE ASM_VERSION} // Comment this line to produce Pascal code.
  3. // Or, just add PAS_VERSION to conditionals
  4. // of your project (must be rebuilt).
  5. {$IFDEF ASM_VERSION}
  6. {$IFDEF PAS_VERSION}
  7. {$UNDEF ASM_VERSION}
  8. // To compile a project with ASM_VERSION option turned off,
  9. // define a symbol PAS_VERSION in project options.
  10. {$ENDIF}
  11. {$ENDIF}
  12. {$I KOLDEF.INC}
  13. //{$DEFINE USE_CONSTRUCTORS}
  14. // Comment this line to produce smaller code if constructors are not used.
  15. // When uncommented, this definition allows to create descendant controls
  16. // and objects overriding constructors, which are actually members of objects.
  17. // Otherwise, global functions (usually named New<ObjectName>) are used to
  18. // create and initialize object instances. This gives smaller code, but
  19. // prevents from using OOP inheritance.
  20. // Note: creating descendant objects derived from TObj does not require using
  21. // of this option. It is actually needed only for deriving new controls on
  22. // base of TControl. See also option USE_CUSTOMEXTENSIONS below.
  23. //{$DEFINE USE_CUSTOMEXTENSIONS}
  24. // Uncomment this option or add it to your project conditional defines,
  25. // if You wish to extend existing TControl object from
  26. // the inner of those. When this option is turned on, include directive at the
  27. // tail of TControl declaration is enabled, causing a compiler to include your
  28. // portion of source directly into the TControl body. See comments near this
  29. // directive there. (Search the word: USE_CUSTOMEXTENSIONS).
  30. // Please note, that this option is not fully supported now.
  31. {$IFNDEF NOT_UNLOAD_RICHEDITLIB}
  32. {$DEFINE UNLOAD_RICHEDITLIB}
  33. {$ENDIF}
  34. // You can freely comment this directive. 1st, if the application does not
  35. // use richedit control. 2nd, even if it does, freeing the library handle
  36. // actually is not needed.
  37. // Another way to turn this option off is to define symbol NOT_UNLOAD_RICHEDITLIB
  38. // in your project options.
  39. //{$DEFINE TEST_VERSION}
  40. {$DEFINE PARANOIA} //seems not needed under D6 !!! Inprise fixed this, finally... :)