diff --git a/SimpleGlob.h b/SimpleGlob.h index baae00b..81e1cd3 100644 --- a/SimpleGlob.h +++ b/SimpleGlob.h @@ -166,6 +166,7 @@ enum SG_Error { // Unix glob functionality. On Unix we just use glob. #ifdef _WIN32 # include +# include # define sg_strchr ::_mbschr # define sg_strrchr ::_mbsrchr # define sg_strlen ::_mbslen @@ -177,6 +178,9 @@ enum SG_Error { # define sg_strcmp ::_mbscmp # define sg_strcasecmp ::_mbsicmp # define SOCHAR_T unsigned char +# ifndef _WINDOWS_ +typedef ::uint32_t DWORD; +# endif #else # include # include