OWLNext    7.0
Borland's Object Windows Library for the modern age
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
borlandc.h
Go to the documentation of this file.
1//
2/// \file
3/// Compiler-specific defines for Clang-based Embarcadero compilers.
4//
5// Part of OWLNext - the next generation Object Windows Library
6// Copyright (c) 1995, 1996 by Borland International, All Rights Reserved
7//
8// For more information, including license details, see
9// http://owlnext.sourceforge.net
10//
11
12#if !defined(OWL_PRIVATE_BORLANDC_H)
13#define OWL_PRIVATE_BORLANDC_H
14
15#if !defined(__clang__)
16#error OWLNext: Unsupported compiler.
17#endif
18
19//
20// Define specific name of compiler, BI_COMP_xxxx
21//
22#define BI_COMP_BORLANDC __BORLANDC__
23#define BI_COMP_CLANG
24
25#if defined(OWL5_COMPAT) && !defined(UNICODE)
26#define OWL_SUPPORT_BWCC
27#define OWL_SUPPORT_CTL3D
28#endif
29
30#define BI_DEFINE_MINMAX_TMPL
31#define BI_MULTI_THREAD
32#if defined(__MT__)
33# define BI_MULTI_THREAD_RTL
34#endif
35
36#ifdef UNICODE
37# define _USE_OLD_RW_STL // use old RW STL for now and only for unicode!!!!!!!!!!!!!!!!!
38#endif
39#if !defined(BI_OWL_PACKING)
40# define BI_OWL_PACKING 8
41#endif
42
43#define BI_HAS_PRAGMA_ONCE
44
45//
46// Debug trap macro and tracing
47//
48#if !defined(OWL_BREAK)
49#define OWL_BREAK {DebugBreak();}
50#endif
51#define OWL_OUTPUT_DEBUG_STRING(lpsz) ::OutputDebugString(lpsz)
52
53//
54// Include link directives
55//
56#if !defined(_BUILDOWLDLL)
57#include <owl/private/owllink.h>
58#endif
59
60#endif