2004-06-06 21:01:32 +00:00
|
|
|
// This makes it easier to check which compiler version is
|
|
|
|
// being used...
|
2004-12-28 14:35:31 +00:00
|
|
|
{$DEFINE DUNKNOWN}
|
|
|
|
|
|
|
|
{$IFDEF VER160}
|
|
|
|
{$DEFINE D8}
|
|
|
|
{$DEFINE D7}
|
|
|
|
{$DEFINE D6}
|
|
|
|
{$DEFINE D5}
|
|
|
|
{$DEFINE D4}
|
|
|
|
{$DEFINE D3}
|
|
|
|
{$DEFINE D2}
|
|
|
|
{$DEFINE D1}
|
|
|
|
{$UNDEF DUNKNOWN}
|
|
|
|
{$ENDIF}
|
|
|
|
|
2004-06-06 21:01:32 +00:00
|
|
|
{$IFDEF VER150}
|
|
|
|
{$DEFINE D7}
|
|
|
|
{$DEFINE D6}
|
|
|
|
{$DEFINE D5}
|
|
|
|
{$DEFINE D4}
|
|
|
|
{$DEFINE D3}
|
|
|
|
{$DEFINE D2}
|
|
|
|
{$DEFINE D1}
|
2004-12-28 14:35:31 +00:00
|
|
|
{$UNDEF DUNKNOWN}
|
2004-06-06 21:01:32 +00:00
|
|
|
{$ENDIF}
|
2004-12-28 14:35:31 +00:00
|
|
|
|
2004-06-06 21:01:32 +00:00
|
|
|
{$IFDEF VER140}
|
|
|
|
{$DEFINE D6}
|
|
|
|
{$DEFINE D5}
|
|
|
|
{$DEFINE D4}
|
|
|
|
{$DEFINE D3}
|
|
|
|
{$DEFINE D2}
|
|
|
|
{$DEFINE D1}
|
2004-12-28 14:35:31 +00:00
|
|
|
{$UNDEF DUNKNOWN}
|
2004-06-06 21:01:32 +00:00
|
|
|
{$ENDIF}
|
2004-12-28 14:35:31 +00:00
|
|
|
|
2004-06-06 21:01:32 +00:00
|
|
|
{$IFDEF VER130}
|
|
|
|
{$DEFINE D5}
|
|
|
|
{$DEFINE D4}
|
|
|
|
{$DEFINE D3}
|
|
|
|
{$DEFINE D2}
|
|
|
|
{$DEFINE D1}
|
2004-12-28 14:35:31 +00:00
|
|
|
{$UNDEF DUNKNOWN}
|
2004-06-06 21:01:32 +00:00
|
|
|
{$ENDIF}
|
2004-12-28 14:35:31 +00:00
|
|
|
|
2004-06-06 21:01:32 +00:00
|
|
|
{$IFDEF VER120}
|
|
|
|
{$DEFINE D4}
|
|
|
|
{$DEFINE D3}
|
|
|
|
{$DEFINE D2}
|
|
|
|
{$DEFINE D1}
|
2004-12-28 14:35:31 +00:00
|
|
|
{$UNDEF DUNKNOWN}
|
2004-06-06 21:01:32 +00:00
|
|
|
{$ENDIF}
|
2004-12-28 14:35:31 +00:00
|
|
|
|
2004-06-06 21:01:32 +00:00
|
|
|
{$IFDEF VER100}
|
|
|
|
{$DEFINE D3}
|
|
|
|
{$DEFINE D2}
|
|
|
|
{$DEFINE D1}
|
2004-12-28 14:35:31 +00:00
|
|
|
{$UNDEF DUNKNOWN}
|
2004-06-06 21:01:32 +00:00
|
|
|
{$ENDIF}
|
2004-12-28 14:35:31 +00:00
|
|
|
|
2004-06-06 21:01:32 +00:00
|
|
|
{$IFDEF VER90}
|
|
|
|
{$DEFINE D2}
|
|
|
|
{$DEFINE D1}
|
2004-12-28 14:35:31 +00:00
|
|
|
{$UNDEF DUNKNOWN}
|
2004-06-06 21:01:32 +00:00
|
|
|
{$ENDIF}
|
2004-12-28 14:35:31 +00:00
|
|
|
|
2004-06-06 21:01:32 +00:00
|
|
|
{$IFDEF VER80}
|
|
|
|
{$DEFINE D1}
|
2004-12-28 14:35:31 +00:00
|
|
|
{$UNDEF DUNKNOWN}
|
|
|
|
{$ENDIF}
|
|
|
|
|
|
|
|
// For unknown compiler versions, assume it is newer.
|
|
|
|
// Anything other than Delphi; good luck. I don't use it,
|
|
|
|
// so I don't know what defines they have... if you do know,
|
|
|
|
// feel free to send me any changes...
|
|
|
|
{$IFDEF DUNKNOWN}
|
|
|
|
{$DEFINE D8}
|
|
|
|
{$DEFINE D7}
|
|
|
|
{$DEFINE D6}
|
|
|
|
{$DEFINE D5}
|
|
|
|
{$DEFINE D4}
|
|
|
|
{$DEFINE D3}
|
|
|
|
{$DEFINE D2}
|
|
|
|
{$DEFINE D1}
|
2004-06-06 21:01:32 +00:00
|
|
|
{$ENDIF}
|