forked from mia/Aegisub
Sigh, -ansi isn't the solution since other compilers may define 'unix', for now the namespace has been called u_nix, hopefully this is safe but who knows...
Originally committed to SVN as r4445.
This commit is contained in:
parent
acc9e53714
commit
2aeb0bdffb
|
@ -4,7 +4,7 @@ AM_CXXFLAGS=
|
||||||
DISTCLEANFILES=
|
DISTCLEANFILES=
|
||||||
|
|
||||||
lib_LTLIBRARIES = libaegisub-2.2.la
|
lib_LTLIBRARIES = libaegisub-2.2.la
|
||||||
libaegisub_2_2_la_CPPFLAGS = -I../src/include -Iinclude -I. @WX_CPPFLAGS@ -ansi -pedantic
|
libaegisub_2_2_la_CPPFLAGS = -I../src/include -Iinclude -I. @WX_CPPFLAGS@ -pedantic
|
||||||
libaegisub_2_2_la_LDFLAGS = @ICONV_LDFLAGS@
|
libaegisub_2_2_la_LDFLAGS = @ICONV_LDFLAGS@
|
||||||
|
|
||||||
if PRECOMPILED_HEADER
|
if PRECOMPILED_HEADER
|
||||||
|
|
|
@ -51,8 +51,8 @@ typedef struct tm {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// u_nix beacuse some compilers set "unix" to 1 if it's unix. -> ARGH.
|
||||||
namespace unix {
|
namespace u_nix {
|
||||||
} // namespace unix
|
} // namespace unix
|
||||||
|
|
||||||
namespace osx {
|
namespace osx {
|
||||||
|
|
Loading…
Reference in a new issue