Fix WIN32_LEAN_AND_MEAN redefinition

pull/5209/head
Alex 2023-08-17 13:25:30 +00:00
parent 7cbf4c4136
commit 081cae6a95
1 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <sstream>
#ifdef _WIN32
# define WIN32_LEAN_AND_MEAN
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif
# include <windows.h>
#endif // _WIN32