summaryrefslogtreecommitdiff
path: root/src/stdafx.h
AgeCommit message (Collapse)Author
2007-02-08(svn r8647) -Codechange: add a general way to handle platforms who can only ↵truelight
have a limited amount of file-descripters open at any given time. The Fios keeps track how many times a file is opened, and tries to close up files which aren't used often. The first platform using this is PSP. Patch based on the work of Turulo.
2007-02-06(svn r8613) -Fix [MorphOS]: offsetof() macro undefined for MorphOS buildKUDr
2007-02-04(svn r8574) -Fix: Silence VC2003 warning: "compiler limit : terminating ↵KUDr
debug information emission for enum 'StringIdEnum'"
2007-02-04(svn r8573) -Cleanup: obey the comment style in stdafx.h.rubidium
2007-02-04(svn r8572) -Fix: use the C++ version of the Standard C Library headers. ↵rubidium
This due to the fact that some stl headers will include them anyway and #undef several defines made in stdafx.h. An example of this is that fopen that we redefine to _wfopen (for Windows Unicode compatability), is reverted to a non-Windows Unicode compatible fopen. This makes it impossible to start openttd with non-ASCII characters in the path or load savegames with non-ASCII characters under Windows.
2007-01-26(svn r8413) -Fix [MORPHOS]: disable #define offsetof conflict on Morphos ↵KUDr
(seems that g++ 2.95 defines it anyway)
2007-01-24(svn r8382) -Fix (r8374): moved the include of stdint.h to the front of stdafx.hbjarni
This fixes the issue where OSX included stdint.h though other includes before defining __STDC_LIMIT_MACROS (and failed to compile because of this)
2007-01-23(svn r8374) -Fix (r8367): LLONG_MAX isn't always defined, and INT64_MAX ↵maedhros
describes the required value better anyway. However, INT64_MAX comes from stdint.h which doesn't seem to exist on MSVC or MorphOS, so it's defined manually for them.
2007-01-23(svn r8373) -Codechange: remove some obsolete MSVC6 compatability definesrubidium
2007-01-21(svn r8306) [WinCE] -Fix: some functions don't exists in WinCE, so give an ↵truelight
alternative where possible
2007-01-14(svn r8131) -Fix (r8125): g++ warning: 'invalid access to non-static data ↵KUDr
member ‘<class>::<member>’ of NULL object'. It is weird, but renaming the 'offsetof' macro helped.
2007-01-10(svn r8042) - Fix: OS/2 compilation with GCC (thanks to Paul Smedley and ↵orudge
TrueBrain for their help)
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-05(svn r7887) -Fix: [OSX] Endian32_Swap should always return a uint32, not a ↵bjarni
long unsigned int This kills an OSX specific warning in newgrf_config.c Ensured that Endian16_Swap returns uint16 as well, even though that one didn't result in any warnings (yet)
2007-01-02(svn r7759) -Merge: makefile rewrite. This merge features:rubidium
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.