mirror of
https://github.com/debauchee/barrier.git
synced 2025-06-29 07:57:05 +02:00
Fixed Issue #20: Compiling with gcc > 4.3 failes
This commit is contained in:
parent
3580a29fd8
commit
b3cf31bd7c
19 changed files with 40 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue