diff --git a/dCommon/dEnums/eHTTPMethod.h b/dCommon/dEnums/eHTTPMethod.h index 1b5cd8e5..7ab84d0d 100644 --- a/dCommon/dEnums/eHTTPMethod.h +++ b/dCommon/dEnums/eHTTPMethod.h @@ -1,6 +1,16 @@ #ifndef __EHTTPMETHODS__H__ #define __EHTTPMETHODS__H__ +#include + +#include "magic_enum.hpp" +#include "dPlatforms.h" + +#ifdef DARKFLAME_PLATFORM_WIN32 +#pragma push_macro("DELETE") +#undef DELETE +#endif + enum class eHTTPMethod { GET, POST, @@ -14,4 +24,8 @@ enum class eHTTPMethod { INVALID }; -#endif // __EHTTPMETHODS__H__ \ No newline at end of file +#ifdef DARKFLAME_PLATFORM_WIN32 +#pragma pop_macro("DELETE") +#endif + +#endif // __EHTTPMETHODS__H__