mirror of https://github.com/odrling/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=
|
||||
|
||||
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@
|
||||
|
||||
if PRECOMPILED_HEADER
|
||||
|
|
|
@ -51,8 +51,8 @@ typedef struct tm {
|
|||
|
||||
|
||||
|
||||
|
||||
namespace unix {
|
||||
// u_nix beacuse some compilers set "unix" to 1 if it's unix. -> ARGH.
|
||||
namespace u_nix {
|
||||
} // namespace unix
|
||||
|
||||
namespace osx {
|
||||
|
|
Loading…
Reference in New Issue