mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-18 02:48:28 +00:00
29 lines
434 B
C
29 lines
434 B
C
#pragma once
|
|
|
|
#ifdef _WIN32
|
|
#ifndef WIN32_LEAN_AND_MEAN
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#endif
|
|
#ifndef NOMINMAX
|
|
#define NOMINMAX
|
|
#endif
|
|
|
|
#ifdef _XBOX
|
|
#include <xtl.h>
|
|
|
|
extern "C" void _ReadWriteBarrier();
|
|
#pragma intrinsic(_ReadWriteBarrier)
|
|
|
|
extern "C" void _WriteBarrier();
|
|
#pragma intrinsic(_WriteBarrier)
|
|
|
|
extern "C" void _ReadBarrier();
|
|
#pragma intrinsic(_ReadBarrier)
|
|
|
|
#else
|
|
#include <Windows.h>
|
|
#endif
|
|
|
|
#undef min
|
|
#undef max
|
|
#endif |