Vadim Zeitlin
455f7c8205
do VMS-specific X symbols redefinitions only once in wx/platform.h instead of doing it in individual files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-01 20:38:33 +00:00
Vadim Zeitlin
e2fc40b478
PalmOS 6 compilation fixes (patch 1849757)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 01:25:56 +00:00
Stefan Csomor
dae17a47b9
common xcode support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 09:25:39 +00:00
David Elliott
305142ad5f
Don't define __WXOSX__ when building the wxCocoa base library.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-19 19:54:36 +00:00
Stefan Csomor
623633eea9
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 20:52:54 +00:00
Chris Elliott
63ef7db3e9
allow Borland 5.5 again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 11:08:10 +00:00
David Elliott
5ed63bf59f
Don't check for wxMac before overriding WORDS_BIGENDIAN based on compiler
...
endianness definitions. This allows any toolkit to be compiled universally
on OS X, not just wxMac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 21:43:36 +00:00
David Elliott
80da12bc09
Remove defined(__WXMAC__) && defined(__APPLE__) case from the OS if/elif block.
...
It would never have been used in a configure build since setup.h which defines
__UNIX__ is included from platform.h before the if/elif block. Likewise, it
would not have been used for wxMac Xcode builds since they use config_xcode.h
which also defines __UNIX__. That's fortunate since __POWERPC__ was defined
unconditionally in that case. Note that classic builds wouldn't have used
the case either since they have their own case just before it (which remains).
Add __MACH__ to the list of UNIX defines (e.g. like __hpux) so that the UNIX
case of the OS if/elif block is guaranteed to match for all Mach systems. In
addition to that, within that case check for __APPLE__ && __MACH__ and make
sure that __BSD__ and __DARWIN__ are defined, TARGET_CARBON is defined,
and wxSIZE_T_IS_ULONG is defined.
Add __ppc__ to the list of defines that will cause __POWERPC__ to be defined
although it's interesting to note that we don't seem to use it anywhere.
Make sure that each case of the OS if/elif block has a /* OS ... */ comment
to make the code a bit easier to follow.
Remove comment about __DARWIN__ being used to work around defects in GCC,
that was removed years ago.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 21:03:53 +00:00
Paul Cornett
c266eff98c
remove C++ comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 02:59:13 +00:00
Chris Elliott
6b73ac78de
set minimum bcc32 version to turbo explorer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 08:00:59 +00:00
Jouk Jansen
3a04ad7917
OpenVMS : removing dependency on obsolete Porting-library (Jackets)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 11:46:08 +00:00
Jouk Jansen
b693769692
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 08:09:44 +00:00
Vadim Zeitlin
4b4e81ee65
include vms_jackets.h directly from wx/platform.h instead of doing it before wx/wxprec.h as this breaks PCH usage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 11:34:19 +00:00
Vadim Zeitlin
d6f2a8911e
many compilation fixes for WinCE using VC8 (it now build, although still doesn't work)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 16:34:24 +00:00
Vadim Zeitlin
2686d9339b
fix __SUNCC__ definition; added wxCHECK_SUNCC_VERSION
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 13:58:05 +00:00
Stefan Neis
459f812bad
Generalized compilation fix for old compilers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 01:16:01 +00:00
Stefan Csomor
c5e5145288
add the missing defines before the xcode prefix gets read in
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:08:59 +00:00
Stefan Csomor
cdac585c3b
availability does not include any other headers, but it provides the necessary macros everywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:46:49 +00:00
Włodzimierz Skiba
f1a4ca62a9
__WXHANDHELD__ introduction.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 13:57:04 +00:00
Paul Cornett
49ca2a9920
using defined in a macro has undefined behavior
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 16:57:07 +00:00
Włodzimierz Skiba
63ccc65902
Allow easier PalmOS5 development by volounteers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 13:41:27 +00:00
Stefan Csomor
d086c633ad
attempt to fix endian problems when doing cross-compiles for universal binaries from a ppc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 06:59:20 +00:00
Kevin Ollivier
2ca2357ded
Since Universal binaries compile the same file twice for different architectures, we need to allow WORDS_BIGENDIAN to be re-defined.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-27 22:54:41 +00:00
Julian Smart
3b2b40b45f
Applied patch [ 1306443 ] Removal of C++-style comments from C files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-18 10:25:04 +00:00
Włodzimierz Skiba
1ed6437807
__WIN95__ removed (used to differ win3.1 vs. 'modern' 95 look, nowadays always defined for WXMSW so useless). Minor cleanings and corrections for correct #includes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 10:55:11 +00:00
Włodzimierz Skiba
6d3d756a6a
Macros for simplified testing Open Watcom version and required tweaks.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 16:16:05 +00:00
Włodzimierz Skiba
cb7d73757f
Support for automatic setup.h in OS/2 with OW builds. __WXOS2__ final removal. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-27 16:01:45 +00:00
Stefan Neis
fbf618dff8
Removed unused symbol __WXOS2__ (it's either __OS2__ when platform specific
...
- similar to __UNIX__ - or __WXPM__ when specific to the port - similar
to symbols __WXMOTIF__ or __WXGTK__).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 20:42:59 +00:00
Michael Wetherell
a84d5f9da1
Link with bufferoverflowu.lib for VC++ 8 and later
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 17:46:11 +00:00
Włodzimierz Skiba
550343399a
Source cleaning. wxMotif/OS2 adjustements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 16:39:45 +00:00
Vadim Zeitlin
17a1ebd101
first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Vadim Zeitlin
ae07248072
define _LANGUAGE_C_PLUS_PLUS for IRIX (closes bug 1105676)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-30 19:23:11 +00:00
Vadim Zeitlin
7eb00c80b2
moved __STDC_EXT__ definition for HP-UX from configure to wx/platform.h, like this we can do it only if it's not alraedy defined by the compiler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-21 18:57:08 +00:00
Vadim Zeitlin
592a746534
fix problems with __POWERPC__ being redefined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-07 15:53:22 +00:00
Vadim Zeitlin
498919ddcd
test for __MWERKS__ with #ifdef, not #if (fixes a -Wundef gcc warning)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 20:08:14 +00:00
Włodzimierz Skiba
0872eaf957
wxOS2 with Open Watcom: correct PCH usage, missing headers, warning fixes, source cleaning and other Watcom adjustements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 17:08:28 +00:00
Włodzimierz Skiba
20bc5ad8dd
Global platform header (<PalmOS.h>) removed from public wx-headers (but included in wxprec.h) with all consequences in wxPalmOS specific API.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-01 19:36:58 +00:00
Michael Wetherell
7275146d4d
Unrevert Cygwin changes after discussion. Cygwin will be unix with the new
...
version of bakefile, but allow wxMSW to stay a Windows build until there is
a unix version of it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-22 20:58:47 +00:00
Michael Wetherell
ff8fbb8dbe
Revert Cygwin changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 15:31:33 +00:00
Michael Wetherell
3d94765e6e
Let Cygwin be a Windows build for wxMSW and a unix build otherwise
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 13:58:23 +00:00
Vadim Zeitlin
1033b8362a
don't define WINVER in platform.h, do it in wrapwin.h and always define it as 0x0600 (current max)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 20:19:37 +00:00
Stefan Csomor
8f7eeefcba
correcting condition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 20:18:11 +00:00
Vadim Zeitlin
79e7089470
define wxUSE_UNICODE before including wx/chkconf.h which uses it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 18:29:41 +00:00
Stefan Csomor
080c6eeca7
support mac on little endian systems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 03:25:23 +00:00
Julian Smart
99d800190a
Added licence/copyright information
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 18:57:50 +00:00
Stefan Neis
76e58831fe
Fixed wxSTD for old gcc versions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 14:49:39 +00:00
Stefan Csomor
819f6fb9f0
needed for avoiding double typedefs in xcode builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 15:57:19 +00:00
Włodzimierz Skiba
a0be690852
Fixes after removal of palmos/gccpriv.h.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 06:48:42 +00:00
Vadim Zeitlin
748a468469
added code for hardware platform detection (__INTEL__, __POWERPC__, ... which were not set correctly before); added __IA64__
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 14:01:44 +00:00
Włodzimierz Skiba
4055ed8281
Use __WXPALMOS__ for PalmOS port which fits __WX$(TOOLKIT)__ of bakefiles. Do not depend on MSW macros in PalmOS port. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 12:44:22 +00:00