diff --git a/tinythread.cpp b/tinythread.cpp index 690eceea..22ba2296 100644 --- a/tinythread.cpp +++ b/tinythread.cpp @@ -21,6 +21,8 @@ freely, subject to the following restrictions: distribution. */ +#if (__cplusplus < 201103L) + #include #include "tinythread.h" @@ -301,3 +303,5 @@ thread::id this_thread::get_id() } } + +#endif