make it compilable under openbsd

This commit is contained in:
David Carlier 2016-12-09 16:21:54 +00:00 committed by Daniel Gibson
parent b8b5f20154
commit 45d826d31c
2 changed files with 4 additions and 1 deletions

View file

@ -108,6 +108,9 @@ include_directories(${VORBISFILE_INCLUDE_DIR})
find_package(OpenAL REQUIRED) find_package(OpenAL REQUIRED)
include_directories(${OPENAL_INCLUDE_DIR}) include_directories(${OPENAL_INCLUDE_DIR})
find_package(X11 REQUIRED)
include_directories(${X11_INCLUDE_DIR})
if (SDL2) if (SDL2)
# skip SDL2main # skip SDL2main
if(APPLE OR WIN32) if(APPLE OR WIN32)

View file

@ -41,7 +41,7 @@ typedef enum {
CPUID_SSE2 = 0x00080, // Streaming SIMD Extensions 2 CPUID_SSE2 = 0x00080, // Streaming SIMD Extensions 2
CPUID_SSE3 = 0x00100, // Streaming SIMD Extentions 3 aka Prescott's New Instructions CPUID_SSE3 = 0x00100, // Streaming SIMD Extentions 3 aka Prescott's New Instructions
CPUID_ALTIVEC = 0x00200, // AltiVec CPUID_ALTIVEC = 0x00200, // AltiVec
} cpuid_t; } cpuidSimd_t;
typedef enum { typedef enum {
AXIS_SIDE, AXIS_SIDE,