X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=plugins%2Fdfsound%2Fstdafx.h;h=96335e38ae945e2349e1d2c37660d36efa04a700;hb=7a8d521fba9c86ae7b51369ce061bf63112b745f;hp=45b366b11627ab50bd4f064ca12d70027051df34;hpb=6d866bb7894b252fc430a24a97769511d5ead1ca;p=pcsx_rearmed.git diff --git a/plugins/dfsound/stdafx.h b/plugins/dfsound/stdafx.h index 45b366b1..96335e38 100644 --- a/plugins/dfsound/stdafx.h +++ b/plugins/dfsound/stdafx.h @@ -15,32 +15,23 @@ * * ***************************************************************************/ -#ifndef _MACOSX -#include "config.h" -#endif +#ifndef __P_STDAFX_H__ +#define __P_STDAFX_H__ + #include #include -#include -#include -#include -#ifdef USEOSS -#include -#endif -#include -#include -#define RRand(range) (random()%range) #include -#include -#include #undef CALLBACK #define CALLBACK -#define DWORD unsigned long -#define LOWORD(l) ((unsigned short)(l)) -#define HIWORD(l) ((unsigned short)(((unsigned long)(l) >> 16) & 0xFFFF)) +#define DWORD unsigned int +#define LOWORD(l) ((unsigned short)(l)) +#define HIWORD(l) ((unsigned short)(((unsigned int)(l) >> 16) & 0xFFFF)) #ifndef INLINE #define INLINE static inline #endif #include "psemuxa.h" + +#endif /* __P_STDAFX_H__ */