aboutsummaryrefslogtreecommitdiff
path: root/libcommon/common/config.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libcommon/common/config.hxx')
-rw-r--r--libcommon/common/config.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/libcommon/common/config.hxx b/libcommon/common/config.hxx
index da45841..08cf0e5 100644
--- a/libcommon/common/config.hxx
+++ b/libcommon/common/config.hxx
@@ -9,6 +9,13 @@
# include <common/config-vc.h>
#else
# include <common/config.h>
+
+// GCC supports strongly typed enums from 4.4 (forward -- 4.6),
+// Clang -- 2.9 (3.1).
+//
+# ifdef HAVE_CXX11
+# define HAVE_CXX11_ENUM
+# endif
#endif
#endif // LIBCOMMON_COMMON_CONFIG_HXX