diff options
-rw-r--r-- | include/__config | 2 | ||||
-rw-r--r-- | src/algorithm.cpp | 1 | ||||
-rw-r--r-- | src/ios.cpp | 2 | ||||
-rw-r--r-- | src/locale.cpp | 2 | ||||
-rw-r--r-- | src/string.cpp | 2 | ||||
-rw-r--r-- | src/valarray.cpp | 2 |
6 files changed, 1 insertions, 10 deletions
diff --git a/include/__config b/include/__config index ce235af3d..c9718cf77 100644 --- a/include/__config +++ b/include/__config @@ -608,7 +608,7 @@ template <unsigned> struct __static_assert_check {}; #endif #ifndef _LIBCPP_EXTERN_TEMPLATE -#define _LIBCPP_EXTERN_TEMPLATE(...) +#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__; #endif #ifndef _LIBCPP_EXTERN_TEMPLATE2 diff --git a/src/algorithm.cpp b/src/algorithm.cpp index 10c4c3312..6d5cf7c0b 100644 --- a/src/algorithm.cpp +++ b/src/algorithm.cpp @@ -7,7 +7,6 @@ // //===----------------------------------------------------------------------===// -#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__; #include "algorithm" #include "random" #include "mutex" diff --git a/src/ios.cpp b/src/ios.cpp index e24139460..260ec7637 100644 --- a/src/ios.cpp +++ b/src/ios.cpp @@ -7,8 +7,6 @@ // //===----------------------------------------------------------------------===// -#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__; - #include "ios" #include "streambuf" #include "istream" diff --git a/src/locale.cpp b/src/locale.cpp index e626528fc..f21e35dd5 100644 --- a/src/locale.cpp +++ b/src/locale.cpp @@ -7,8 +7,6 @@ // //===----------------------------------------------------------------------===// -#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__; - // On Solaris, we need to define something to make the C99 parts of localeconv // visible. #ifdef __sun__ diff --git a/src/string.cpp b/src/string.cpp index fde52129e..fdaad2927 100644 --- a/src/string.cpp +++ b/src/string.cpp @@ -7,8 +7,6 @@ // //===----------------------------------------------------------------------===// -#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__; - #include "string" #include "cstdlib" #include "cwchar" diff --git a/src/valarray.cpp b/src/valarray.cpp index e4c9ed024..2d8db52ac 100644 --- a/src/valarray.cpp +++ b/src/valarray.cpp @@ -7,8 +7,6 @@ // //===----------------------------------------------------------------------===// -#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__; - #include "valarray" _LIBCPP_BEGIN_NAMESPACE_STD |