summaryrefslogtreecommitdiffstats
path: root/libcxx/src/system_error.cpp
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-01-06 17:34:51 +0000
committerDan Albert <danalbert@google.com>2015-01-06 17:34:51 +0000
commita76dfbd4288271d3a61fe2f4307c406780ce7c49 (patch)
treece1ec4e052a17695a3e64fc5ea08d7cd2f87a8c3 /libcxx/src/system_error.cpp
parent8335a5724a352ce7ae44c5ca450f85fd2576fcf0 (diff)
downloadbcm5719-llvm-a76dfbd4288271d3a61fe2f4307c406780ce7c49.tar.gz
bcm5719-llvm-a76dfbd4288271d3a61fe2f4307c406780ce7c49.zip
[libcxx] Set _LIBCPP_ELAST for mingw.
Reviewers: K-ballo, mclow.lists, EricWF Reviewed By: EricWF Subscribers: jfb, jroelofs, majnemer, cfe-commits Differential Revision: http://reviews.llvm.org/D6558 llvm-svn: 225273
Diffstat (limited to 'libcxx/src/system_error.cpp')
-rw-r--r--libcxx/src/system_error.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/libcxx/src/system_error.cpp b/libcxx/src/system_error.cpp
index 9c8adc4f323..c032fc07b38 100644
--- a/libcxx/src/system_error.cpp
+++ b/libcxx/src/system_error.cpp
@@ -7,11 +7,14 @@
//
//===----------------------------------------------------------------------===//
-#define _LIBCPP_BUILDING_SYSTEM_ERROR
#include "__config"
+
+#define _LIBCPP_BUILDING_SYSTEM_ERROR
#include "system_error"
-#include "string"
+
+#include "config_elast.h"
#include "cstring"
+#include "string"
_LIBCPP_BEGIN_NAMESPACE_STD
OpenPOWER on IntegriCloud