X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fdfsound%2Fstdafx.h;fp=plugins%2Fdfsound%2Fstdafx.h;h=7e220290637ee25a8dc159b99e73706059c52914;hp=8993bb356140d5f0ad32938310b4e01ab9b56fd9;hb=003cfc63c69b3e900de768317354dfb80bbf6a55;hpb=3aba41853f8dc014ff61e05e8a2c616d89f88715 diff --git a/plugins/dfsound/stdafx.h b/plugins/dfsound/stdafx.h index 8993bb35..7e220290 100644 --- a/plugins/dfsound/stdafx.h +++ b/plugins/dfsound/stdafx.h @@ -15,26 +15,20 @@ * * ***************************************************************************/ -#ifndef _MACOSX -#include "config.h" -#endif #include #include -#include -#include -#include -#include -#include -#define RRand(range) (random()%range) #include -#include -#include +#ifdef _WIN32 +#define WIN32_LEAN_AND_MEAN +#include +#else #undef CALLBACK #define CALLBACK #define DWORD unsigned int -#define LOWORD(l) ((unsigned short)(l)) -#define HIWORD(l) ((unsigned short)(((unsigned int)(l) >> 16) & 0xFFFF)) +#define LOWORD(l) ((unsigned short)(l)) +#define HIWORD(l) ((unsigned short)(((unsigned int)(l) >> 16) & 0xFFFF)) +#endif #ifndef INLINE #define INLINE static inline