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.
34 lines
840 B
34 lines
840 B
// borc.h --
|
|
// $Id$
|
|
// This is part of Metakit, see http://www.equi4.com/metakit/
|
|
|
|
/** @file
|
|
* Configuration header for Borland C++
|
|
*/
|
|
|
|
#define q4_BORC 1
|
|
|
|
// get rid of several common warning messages
|
|
#if !q4_STRICT
|
|
#pragma warn -aus // 'identifier' is assigned a value that is never used
|
|
#pragma warn -par // Parameter 'parameter' is never used.
|
|
#pragma warn -sig // Conversion may lose significant digits
|
|
#pragma warn -use // 'identifier' declared but never used
|
|
#endif
|
|
|
|
#if __BORLANDC__ >= 0x500
|
|
#define q4_BOOL 1 // supports the bool datatype
|
|
// undo previous defaults, because q4_BOOL is not set early enough
|
|
#undef false
|
|
#undef true
|
|
#undef bool
|
|
#endif
|
|
|
|
#if !defined (q4_EXPORT)
|
|
#define q4_EXPORT 1 // requires export/import specifiers
|
|
#endif
|
|
|
|
#if defined (__MT__)
|
|
#define q4_MULTI 1 // uses multi-threading
|
|
#endif
|