summaryrefslogtreecommitdiffstats
path: root/OpenAL32/alBuffer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-02-15 21:47:35 -0800
committerChris Robinson <[email protected]>2012-02-15 21:47:35 -0800
commit60785eab8e7c893b652ca8ebfa031a70588c6683 (patch)
tree02cc9a3cbcb2303cf0ef52119934977e50994527 /OpenAL32/alBuffer.c
parent7e9af6f406a5f010435d04db2828c083f36ea673 (diff)
Move the endian test macro to alMain.h
Diffstat (limited to 'OpenAL32/alBuffer.c')
-rw-r--r--OpenAL32/alBuffer.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c
index 2d75a24e..6a3bb114 100644
--- a/OpenAL32/alBuffer.c
+++ b/OpenAL32/alBuffer.c
@@ -1245,11 +1245,6 @@ static void EncodeIMA4Block(ALima4 *dst, const ALshort *src, ALint *sample, ALin
}
}
-static const union {
- ALuint u;
- ALubyte b[sizeof(ALuint)];
-} EndianTest = { 1 };
-#define IS_LITTLE_ENDIAN (EndianTest.b[0] == 1)
static __inline ALint DecodeByte3(ALbyte3 val)
{