]> git.saurik.com Git - wxWidgets.git/blame - docs/symbols.txt
Changes to allow Cygwin to compile in non-PCH mode
[wxWidgets.git] / docs / symbols.txt
CommitLineData
c801d85f
KB
1This is a list of preprocessor symbols used in the wxWindows source.
2
3GUIs:
4-----
5
6__X__ any X, but not GTK
34138703
JS
7__WXMOTIF__ Motif
8__WXXT__ Xt; mutually exclusive with WX_MOTIF (?)
9__WXGTK__ GTK
10__WXMSW__ Any Windows
11__WXMAC__ MacOS
c801d85f 12__UNIX__ any Unix
34138703 13__WINDOWS__ any Windows
c801d85f
KB
14__WIN95__ GUI for Windows 95 and above; NT 4.0 and above.
15__WIN32__ WIN32 API
16__NT__ Windows NT
34138703
JS
17__WXCURSES__ CURSES
18__WXSTUBS__ Stubbed version ('template' wxWin implementation)
c801d85f 19
2049ba38
KB
20In fact, they should better all start with __WX instead of __ only.
21The only GUIs implemented for 2.0 are __WXGTK__, __WXMSW__ and __WXMOTIF__
22yet. Any new ones, please start the define with __WX.
23
c801d85f
KB
24OSes/machines:
25
26__HPUX__
27__SVR4__
28__SYSV__
29__LINUX__
30__SGI__
31__ULTRIX__
32__BSD__
33__VMS__
34__SUN__ Any Sun
35__SUNOS__
36__SOLARIS__
37__ALPHA__
38__AIX__
39__DATA_GENERAL__
40__OSF__
41__FREEBSD__
42
43Compilers:
44----------
45
46__GNUWIN32__ Gnu-Win32 compiler
47__DJGPP__ DJGPP
48__GNUG__ Gnu C++ on any platform
49__BORLANDC__ Borland C++
50__WATCOMC__ Watcom C++
51__SYMANTECC__ Symantec C++
52__VISUALC__ VC++
5dcf05ae 53__SUNCC__ Sun CC
c801d85f
KB
54__XLC__ ?? compiler
55
56wxWindows modes:
57----------------
58
87d1e11f 59__WXDEBUG__ usage: #ifdef __WXDEBUG__ (=> debug mode, else => release)
c801d85f
KB
60WXDEBUG usage: #if DEBUG (0: release, 1: minimal debug code, ...)
61