Protect from Oracle sun macro

This commit is contained in:
Howard Hinnant 2017-08-06 00:30:27 -04:00
parent c4dcd5eb78
commit 922abf1299

5
date.h
View File

@ -106,6 +106,11 @@ namespace date
# define NOEXCEPT noexcept
#endif
// Protect from Oracle sun macro
#ifdef sun
# undef sun
#endif
//-----------+
// Interface |
//-----------+