File tree 2 files changed +12
-5
lines changed
2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,11 @@ OS=MINGW
53
53
XDR =
54
54
endif
55
55
56
+ ifeq ($(findstring Darwin,$(OS ) ) ,Darwin)
57
+ # Apple has removed TR1, but not set the C++ standard :P
58
+ FLAGS+=-std =c++11
59
+ endif
60
+
56
61
FLAGS+ =-I/usr/X11R6/include
57
62
58
63
ifdef XDR
Original file line number Diff line number Diff line change @@ -52,11 +52,12 @@ namespace std
52
52
#endif
53
53
54
54
55
- /*
56
- Classdesc is now dependent on TR1. These can either
57
- be obtained from the compiler's standard library, or from Boost.
58
- TODO: check that this works with Boost!
59
- */
55
+ #if defined(__cplusplus) && __cplusplus<201103L
56
+ /*
57
+ Classdesc is now dependent on TR1. These can either
58
+ be obtained from the compiler's standard library, or from Boost.
59
+ TODO: check that this works with Boost!
60
+ */
60
61
#ifdef TR1
61
62
#include < tr1/type_traits>
62
63
#if !defined(__ICC) || __ICC > 1100 // tr1 shared_ptr impl not functional with icc 10.1
@@ -66,6 +67,7 @@ namespace std
66
67
#include < boost/tr1/type_traits.hpp>
67
68
#include < boost/tr1/memory.hpp>
68
69
#endif
70
+ #endif
69
71
70
72
/* * \namespace classdesc \brief Contains definitions related to
71
73
classdesc functionality
You can’t perform that action at this time.
0 commit comments