Fixed Issue #20: Compiling with gcc > 4.3 failes

This commit is contained in:
syed.amer@gilani.eu 2009-03-29 12:50:33 +00:00
parent 3580a29fd8
commit b3cf31bd7c
19 changed files with 40 additions and 18 deletions

View file

@ -17,8 +17,9 @@
#include "common.h"
#include "CArch.h"
#include <limits.h>
#include <string.h>
#include <climits>
#include <cstring>
#include <cstdlib>
#if HAVE_LOCALE_H
# include <locale.h>
#endif
@ -26,7 +27,7 @@
# include <wchar.h>
#elif __APPLE__
// wtf? Darwin puts mbtowc() et al. in stdlib
# include <stdlib.h>
# include <cstdlib>
#else
// platform apparently has no wchar_t support. provide dummy
// implementations. hopefully at least the C++ compiler has