Index: source/common/utypeinfo.h |
diff --git a/source/common/utypeinfo.h b/source/common/utypeinfo.h |
index 4de16d6d790249ebbb2c6bc182d13093569a8fbf..6874c6bcfd7ee6a9d1bd20490c0cb80ab76be6f7 100644 |
--- a/source/common/utypeinfo.h |
+++ b/source/common/utypeinfo.h |
@@ -1,7 +1,7 @@ |
/* |
****************************************************************************** |
* |
-* Copyright (C) 2012, International Business Machines |
+* Copyright (C) 2012-2014, International Business Machines |
* Corporation and others. All Rights Reserved. |
* |
****************************************************************************** |
@@ -22,6 +22,9 @@ |
#include <exception> |
using std::exception; |
#endif |
+#if !defined(_MSC_VER) |
+namespace std { class type_info; } // WORKAROUND: http://llvm.org/bugs/show_bug.cgi?id=13364 |
+#endif |
#include <typeinfo> // for 'typeid' to work |
#endif |