summaryrefslogtreecommitdiff
path: root/src/map/atcommand.cpp
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/map/atcommand.cpp
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/map/atcommand.cpp')
-rw-r--r--src/map/atcommand.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/atcommand.cpp b/src/map/atcommand.cpp
index 0f6bb1f..968e428 100644
--- a/src/map/atcommand.cpp
+++ b/src/map/atcommand.cpp
@@ -5713,7 +5713,7 @@ int atcommand_character_item_list(const int fd, struct map_session_data *sd,
if (!output.empty())
{
// replace trailing ", "
-#ifdef ANNOYING_GCC46_WORKAROUNDS
+#ifdef WORKAROUND_GCC46_LIBRARY
output.resize(output.size() - 1);
#else
output.pop_back();
@@ -5838,7 +5838,7 @@ int atcommand_character_storage_list(const int fd, struct map_session_data *sd,
if (!output.empty())
{
// replace last ", "
-#ifdef ANNOYING_GCC46_WORKAROUNDS
+#ifdef WORKAROUND_GCC46_LIBRARY
output.resize(output.size() - 1);
#else
output.pop_back();
@@ -5967,7 +5967,7 @@ int atcommand_character_cart_list(const int fd, struct map_session_data *sd,
}
if (!output.empty())
{
-#ifdef ANNOYING_GCC46_WORKAROUNDS
+#ifdef WORKAROUND_GCC46_LIBRARY
output.resize(output.size() - 1);
#else
output.pop_back();