summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-02-01 12:36:09 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-02-01 12:36:50 -0800
commitb3ca4bccc4fa6b7f5d637bdecb4fac6ca9649f3c (patch)
treef0b37780a744aa4f17c464e354dcd27612e7931e /src/login
parente3cb398a2baa95206a2c67e40e3b67d42c9a912e (diff)
downloadtmwa-b3ca4bccc4fa6b7f5d637bdecb4fac6ca9649f3c.tar.gz
tmwa-b3ca4bccc4fa6b7f5d637bdecb4fac6ca9649f3c.tar.bz2
tmwa-b3ca4bccc4fa6b7f5d637bdecb4fac6ca9649f3c.tar.xz
tmwa-b3ca4bccc4fa6b7f5d637bdecb4fac6ca9649f3c.zip
Fix build with clang against libstdc++ 4.6
Diffstat (limited to 'src/login')
-rw-r--r--src/login/login.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/login.cpp b/src/login/login.cpp
index 8277d8c..29b9954 100644
--- a/src/login/login.cpp
+++ b/src/login/login.cpp
@@ -595,7 +595,7 @@ int mmo_auth_init(void)
continue;
if (line.back() == '\r')
{
-#ifdef ANNOYING_GCC46_WORKAROUNDS
+#ifdef WORKAROUND_GCC46_LIBRARY
line.resize(line.size() - 1);
#else
line.pop_back();