Protect from Oracle sun macro

This commit is contained in:
Howard Hinnant committed 2017-08-06 00:30:27 -04:00
1 parent c4dcd5eb78
commit 922abf1299
1 file changed
+5
+5
View File
@@ -106,6 +106,11 @@ namespace date
# define NOEXCEPT noexcept
#endif
// Protect from Oracle sun macro
#ifdef sun
# undef sun
#endif
//-----------+
// Interface |
//-----------+