]> git.saurik.com Git - wxWidgets.git/blame - include/wx/wxprec.h
ssize_t is always defined in OSX
[wxWidgets.git] / include / wx / wxprec.h
CommitLineData
c801d85f
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: wxprec.h
3// Purpose: Includes the appropriate files for precompiled headers
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
8// Copyright: (c)
65571936 9// Licence: wxWindows licence
c801d85f
KB
10/////////////////////////////////////////////////////////////////////////////
11
d22699b5
VZ
12// compiler detection; includes setup.h
13#include "wx/defs.h"
858f7d66 14
d22699b5
VZ
15// check if to use precompiled headers: do it for most Windows compilers unless
16// explicitly disabled by defining NOPCH
d22004c4
WS
17#if ( defined(__WXMSW__) && \
18 ( defined(__BORLANDC__) || \
19 defined(__VISUALC__) || \
20 defined(__DIGITALMARS__) || \
21 defined(__WATCOMC__) ) ) || \
22 defined(__VISAGECPP__) || \
43a6124f 23 defined(__MWERKS__)
d22004c4 24
74295623 25 #if !defined(NOPCH)
3f4a0c5b
VZ
26 #define WX_PRECOMP
27 #endif
c801d85f
KB
28#endif
29
30// For some reason, this must be defined for common dialogs to work.
31#ifdef __WATCOMC__
d22699b5 32 #define INCLUDE_COMMDLG_H 1
c801d85f
KB
33#endif
34
c801d85f 35#ifdef WX_PRECOMP
c801d85f 36
f6bcfd97
BP
37// include <wx/wxchar.h> first to ensure that UNICODE macro is correctly set
38// _before_ including <windows.h>
39#include "wx/wxchar.h"
40
d22699b5 41// include standard Windows headers
43a6124f 42#if defined(__WXMSW__)
9ed0d735 43 #include "wx/msw/wrapwin.h"
b4277bbc 44#endif
c801d85f 45
d22699b5 46// include the most common wx headers
6bbd3344 47#include "wx/wx.h"
c801d85f 48
ac15e21d 49#endif // WX_PRECOMP