From b3ca4bccc4fa6b7f5d637bdecb4fac6ca9649f3c Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 1 Feb 2013 12:36:09 -0800 Subject: Fix build with clang against libstdc++ 4.6 --- src/map/atcommand.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map') 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(); -- cgit v1.2.3-70-g09d2