mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-21 20:21:19 +00:00
make it compilable under openbsd
This commit is contained in:
parent
b8b5f20154
commit
45d826d31c
2 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue