Mercurial > sdl-ios-xcode
comparison src/audio/dma/SDL_dmaaudio.c @ 1402:d910939febfa
Use consistent identifiers for the various platforms we support.
Make sure every source file includes SDL_config.h, so the proper system
headers are chosen.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 21 Feb 2006 08:46:50 +0000 |
parents | 19418e4422cb |
children | 782fd950bd46 c121d94672cb a1b03ba2fcd0 |
comparison
equal
deleted
inserted
replaced
1401:1819fd069e89 | 1402:d910939febfa |
---|---|
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
18 | 18 |
19 Sam Lantinga | 19 Sam Lantinga |
20 slouken@libsdl.org | 20 slouken@libsdl.org |
21 */ | 21 */ |
22 #include "SDL_config.h" | |
22 | 23 |
23 /* Allow access to a raw mixing buffer */ | 24 /* Allow access to a raw mixing buffer */ |
24 | 25 |
25 #include <stdio.h> | 26 #include <stdio.h> |
26 #include <string.h> /* For strerror() */ | 27 #include <string.h> /* For strerror() */ |
31 #include <sys/types.h> | 32 #include <sys/types.h> |
32 #include <sys/time.h> | 33 #include <sys/time.h> |
33 #include <sys/ioctl.h> | 34 #include <sys/ioctl.h> |
34 #include <sys/stat.h> | 35 #include <sys/stat.h> |
35 #include <sys/mman.h> | 36 #include <sys/mman.h> |
36 | |
37 #include "SDL_config.h" | |
38 | 37 |
39 #if SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H | 38 #if SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H |
40 /* This is installed on some systems */ | 39 /* This is installed on some systems */ |
41 #include <soundcard.h> | 40 #include <soundcard.h> |
42 #else | 41 #else |