Changeset View
Changeset View
Standalone View
Standalone View
src/tinyformat.h
Show First 20 Lines • Show All 149 Lines • ▼ Show 20 Lines | |||||
#if defined(__GLIBCXX__) && __GLIBCXX__ < 20080201 | #if defined(__GLIBCXX__) && __GLIBCXX__ < 20080201 | ||||
// std::showpos is broken on old libstdc++ as provided with OSX. See | // std::showpos is broken on old libstdc++ as provided with OSX. See | ||||
// http://gcc.gnu.org/ml/libstdc++/2007-11/msg00075.html | // http://gcc.gnu.org/ml/libstdc++/2007-11/msg00075.html | ||||
#define TINYFORMAT_OLD_LIBSTDCPLUSPLUS_WORKAROUND | #define TINYFORMAT_OLD_LIBSTDCPLUSPLUS_WORKAROUND | ||||
#endif | #endif | ||||
#ifdef __APPLE__ | #ifdef __APPLE__ | ||||
// Workaround OSX linker warning: xcode uses different default symbol | // Workaround OSX linker warning: Xcode uses different default symbol | ||||
// visibilities for static libs vs executables (see issue #25) | // visibilities for static libs vs executables (see issue #25) | ||||
#define TINYFORMAT_HIDDEN __attribute__((visibility("hidden"))) | #define TINYFORMAT_HIDDEN __attribute__((visibility("hidden"))) | ||||
#else | #else | ||||
#define TINYFORMAT_HIDDEN | #define TINYFORMAT_HIDDEN | ||||
#endif | #endif | ||||
namespace tinyformat { | namespace tinyformat { | ||||
▲ Show 20 Lines • Show All 918 Lines • Show Last 20 Lines |