Don't try to redefine WIN32_LEAN_AND_MEAN if already defined

This commit is contained in:
twinaphex 2017-06-28 06:44:01 +02:00
parent 540fdf358c
commit 63d2e543af

View File

@ -24,6 +24,16 @@
#define __RARCH_MISCELLANEOUS_H
#include <stdint.h>
#if defined(_WIN32) && !defined(_XBOX)
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
#elif defined(_WIN32) && defined(_XBOX)
#include <Xtl.h>
#endif
#include <limits.h>
#ifdef _MSC_VER