misc: Use GCC builtins for byte-swap operations
[pcsx_rearmed.git] / plugins / dfsound / stdafx.h
CommitLineData
ef79bbde
P
1/***************************************************************************
2 StdAfx.h - description
3 -------------------
4 begin : Wed May 15 2002
5 copyright : (C) 2002 by Pete Bernert
6 email : BlackDove@addcom.de
7 ***************************************************************************/
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. See also the license.txt file for *
14 * additional informations. *
15 * *
16 ***************************************************************************/
17
908e426c 18#ifndef __P_STDAFX_H__
19#define __P_STDAFX_H__
20
ef79bbde
P
21#include <stdio.h>
22#include <stdlib.h>
ef79bbde 23#include <string.h>
ef79bbde 24
003cfc63 25#ifdef _WIN32
26#define WIN32_LEAN_AND_MEAN
27#include <windows.h>
28#else
ef79bbde
P
29#undef CALLBACK
30#define CALLBACK
c668f248 31#define DWORD unsigned int
003cfc63 32#define LOWORD(l) ((unsigned short)(l))
33#define HIWORD(l) ((unsigned short)(((unsigned int)(l) >> 16) & 0xFFFF))
34#endif
ef79bbde
P
35
36#ifndef INLINE
6d866bb7 37#define INLINE static inline
ef79bbde
P
38#endif
39
40#include "psemuxa.h"
908e426c 41
42#endif /* __P_STDAFX_H__ */