Fix linux build

This commit is contained in:
Sergeanur 2020-05-22 21:00:59 +03:00
parent e858314a9f
commit 38a09c6e9b
2 changed files with 2 additions and 4 deletions

View File

@ -6,8 +6,6 @@ configuration:
platform: platform:
- win-x86-librw_d3d9-mss - win-x86-librw_d3d9-mss
- win-x86-librw_gl3_glfw-mss - win-x86-librw_gl3_glfw-mss
- win-x86-librw_d3d9-oal
- win-x86-librw_gl3_glfw-oal
environment: environment:
APPVEYOR_SAVE_CACHE_ON_ERROR: true APPVEYOR_SAVE_CACHE_ON_ERROR: true
GLEW_VER: "2.1.0" GLEW_VER: "2.1.0"

View File

@ -12,7 +12,7 @@
extern "C" { extern "C" {
#endif // __cplusplus #endif // __cplusplus
#ifndef OPENAL #ifndef AUDIO_OAL
#include <dsound.h> #include <dsound.h>
/* /*
@ -49,7 +49,7 @@ extern "C" {
typedef void (CDECL *LPGETCURRENTVERSION)(LPDWORD major, LPDWORD minor); typedef void (CDECL *LPGETCURRENTVERSION)(LPDWORD major, LPDWORD minor);
#else // OPENAL #else // AUDIO_OAL
#ifndef _WIN32 #ifndef _WIN32
#include <AL/al.h> #include <AL/al.h>
#include <string.h> #include <string.h>