cdrom: change pause timing again
[pcsx_rearmed.git] / plugins / dfsound / stdafx.h
... / ...
CommitLineData
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
18#ifndef __P_STDAFX_H__
19#define __P_STDAFX_H__
20
21#include <stdio.h>
22#include <stdlib.h>
23#include <string.h>
24
25#undef CALLBACK
26#define CALLBACK
27#define DWORD unsigned int
28#define LOWORD(l) ((unsigned short)(l))
29#define HIWORD(l) ((unsigned short)(((unsigned int)(l) >> 16) & 0xFFFF))
30
31#ifndef INLINE
32#define INLINE static inline
33#endif
34
35#if defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
36#define HTOLE16(x) __builtin_bswap16(x)
37#define LE16TOH(x) __builtin_bswap16(x)
38#else
39#define HTOLE16(x) (x)
40#define LE16TOH(x) (x)
41#endif
42
43#include "psemuxa.h"
44
45#endif /* __P_STDAFX_H__ */