Commit | Line | Data |
---|---|---|
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 | ||
18 | #ifndef _MACOSX | |
19 | #include "config.h" | |
20 | #endif | |
21 | #include <stdio.h> | |
22 | #include <stdlib.h> | |
23 | #include <sys/ioctl.h> | |
24 | #include <unistd.h> | |
25 | #include <fcntl.h> | |
26 | #ifdef USEOSS | |
27 | #include <sys/soundcard.h> | |
28 | #endif | |
29 | #include <unistd.h> | |
30 | #include <pthread.h> | |
31 | #define RRand(range) (random()%range) | |
32 | #include <string.h> | |
33 | #include <sys/time.h> | |
34 | #include <math.h> | |
35 | ||
36 | #undef CALLBACK | |
37 | #define CALLBACK | |
38 | #define DWORD unsigned long | |
39 | #define LOWORD(l) ((unsigned short)(l)) | |
40 | #define HIWORD(l) ((unsigned short)(((unsigned long)(l) >> 16) & 0xFFFF)) | |
41 | ||
42 | #ifndef INLINE | |
6d866bb7 | 43 | #define INLINE static inline |
ef79bbde P |
44 | #endif |
45 | ||
46 | #include "psemuxa.h" |