diff --git a/date.h b/date.h index c092859..f76005e 100644 --- a/date.h +++ b/date.h @@ -106,6 +106,11 @@ namespace date # define NOEXCEPT noexcept #endif +// Protect from Oracle sun macro +#ifdef sun +# undef sun +#endif + //-----------+ // Interface | //-----------+