aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/system_error.cpp
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2013-08-21 02:57:19 +0000
committerMarshall Clow <mclow.lists@gmail.com>2013-08-21 02:57:19 +0000
commita86d516213b677b6524b2152977ea9be82fdd17d (patch)
treedc477e4997e16b287068d37cb15c2af403fb17ca /libcxx/src/system_error.cpp
parent63cc55b4793071000f8e61d86fdfbb391b87869f (diff)
downloadllvm-a86d516213b677b6524b2152977ea9be82fdd17d.zip
llvm-a86d516213b677b6524b2152977ea9be82fdd17d.tar.gz
llvm-a86d516213b677b6524b2152977ea9be82fdd17d.tar.bz2
LWG 2145 - mark constructor for std::error_category as inline and constexpr. Leave the (existing, out-of-line, non-constexpr) in the dylib for compatibility with existing programs)
llvm-svn: 188858
Diffstat (limited to 'libcxx/src/system_error.cpp')
-rw-r--r--libcxx/src/system_error.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/src/system_error.cpp b/libcxx/src/system_error.cpp
index 7376b77..b40409f 100644
--- a/libcxx/src/system_error.cpp
+++ b/libcxx/src/system_error.cpp
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#define _LIBCPP_BUILDING_SYSTEM_ERROR
#include "system_error"
#include "string"
#include "cstring"