summaryrefslogtreecommitdiff
path: root/audio/freealut/files/patch-src_alutInternal.h
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2006-04-23 10:08:08 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2006-04-23 10:08:08 +0000
commit70c81dfdc87f1a26a6eb29096b21a68cfbf5f3bc (patch)
tree57a75c0710e16c87848f33bba069085f740ce65e /audio/freealut/files/patch-src_alutInternal.h
parentDocument wordpress -- full path disclosure. (diff)
Add freealut 1.0.1, the OpenAL Utility Toolkit.
PR: ports/95193 Submitted by: Oliver Lehmann <oliver@FreeBSD.org>
Notes
Notes: svn path=/head/; revision=160210
Diffstat (limited to 'audio/freealut/files/patch-src_alutInternal.h')
-rw-r--r--audio/freealut/files/patch-src_alutInternal.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/audio/freealut/files/patch-src_alutInternal.h b/audio/freealut/files/patch-src_alutInternal.h
new file mode 100644
index 000000000000..179705398090
--- /dev/null
+++ b/audio/freealut/files/patch-src_alutInternal.h
@@ -0,0 +1,27 @@
+--- src/alutInternal.h.orig Fri Mar 31 06:15:08 2006
++++ src/alutInternal.h Fri Mar 31 06:15:46 2006
+@@ -13,23 +13,8 @@
+
+ #if HAVE_STDINT_H
+ #include <stdint.h>
+-#elif _MSC_VER < 1300
+-typedef char int8_t;
+-typedef unsigned char uint8_t;
+-typedef short int16_t;
+-typedef unsigned short uint16_t;
+-typedef int int32_t;
+-typedef unsigned int uint32_t;
+-#elif HAVE_BASETSD_H
+-#include <basetsd.h>
+-typedef INT8 int8_t;
+-typedef UINT8 uint8_t;
+-typedef INT16 int16_t;
+-typedef UINT16 uint16_t;
+-typedef INT32 int32_t;
+-typedef UINT32 uint32_t;
+ #else
+-#error Do not know sized types on this platform
++#include <inttypes.h>
+ #endif
+
+ typedef uint16_t UInt16LittleEndian;