comparison src/libmlk-core/core/sys_p.h @ 411:d74f53299252

make: add basic GNU make support
author David Demelier <markand@malikania.fr>
date Fri, 07 Oct 2022 14:35:31 +0200
parents f48367c5a92e
children 7d2ebc334c8c
comparison
equal deleted inserted replaced
410:1bf7d6669f0a 411:d74f53299252
17 */ 17 */
18 18
19 #ifndef MLK_CORE_SYS_P_H 19 #ifndef MLK_CORE_SYS_P_H
20 #define MLK_CORE_SYS_P_H 20 #define MLK_CORE_SYS_P_H
21 21
22 #include <port/port.h>
23
22 #include <stddef.h> 24 #include <stddef.h>
23 25
24 #include <al.h> 26 #if defined(MLK_OS_APPLE)
25 #include <alc.h> 27 # include <OpenAL/al.h>
28 # include <OpenAL/alc.h>
29 #else
30 # include <al.h>
31 # include <alc.h>
32 #endif
26 33
27 extern ALCdevice *audio_dev; 34 extern ALCdevice *audio_dev;
28 extern ALCcontext *audio_ctx; 35 extern ALCcontext *audio_ctx;
29 36
30 struct audiostream { 37 struct audiostream {