openal: mingw-w64 4.01 compatibility fix

This commit is contained in:
Mark Brand 2015-03-28 20:54:39 +01:00
parent 3e0ac34e3c
commit ee28e92af2
1 changed files with 30 additions and 2 deletions

View File

@ -1,10 +1,13 @@
This file is part of MXE.
See index.html for further information.
From 25b591198c896959ca5b7dc9ad3a35605c66dc63 Mon Sep 17 00:00:00 2001
From: Guilherme Lima Bernal <dev@lbguilherme.com>
Date: Sat, 28 Mar 2015 20:52:05 +0100
Subject: [PATCH 1/2] fixes for cross-building
Contains ad hoc patches for cross building.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0087edb..6887339 100644
index 0087edb..749f813 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -846,6 +846,7 @@ IF(HAVE_WINDOWS_H)
@ -53,3 +56,28 @@ index 0087edb..6887339 100644
# Add an install target here
INSTALL(TARGETS ${LIBNAME}
--
2.1.0
From 6d0e7d9cb038aa54f33f9a8cef351c2aaa866ac1 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Sat, 28 Mar 2015 20:47:15 +0100
Subject: [PATCH 2/2] add missing include
diff --git a/Alc/alcConfig.c b/Alc/alcConfig.c
index 2c9aef4..bcd16d9 100644
--- a/Alc/alcConfig.c
+++ b/Alc/alcConfig.c
@@ -33,6 +33,7 @@
#include <ctype.h>
#include <string.h>
#ifdef _WIN32_IE
+#include <windows.h>
#include <shlobj.h>
#endif
--
2.1.0