diff options
author | Chris Robinson <[email protected]> | 2018-01-16 12:57:06 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-01-16 12:57:06 -0800 |
commit | bf8c889631f48f9112987eb0f26e7c6eaa2429aa (patch) | |
tree | a3a041528ea7e19a0e7446d6eddc6bffdf40a047 /OpenAL32/Include | |
parent | 273dca2fa0fc4b009735010fd42c2c53649f872c (diff) |
Define DECL_VLA where it's used
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 4f6d0b49..c9439770 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -173,12 +173,6 @@ typedef ALuint64SOFT ALuint64; */ #define FAM_SIZE(T, M, N) (offsetof(T, M) + sizeof(((T*)NULL)->M[0])*(N)) -#ifdef HAVE_C99_VLA -#define DECL_VLA(T, _name, _size) T _name[(_size)] -#else -#define DECL_VLA(T, _name, _size) T *_name = alloca((_size) * sizeof(T)) -#endif - static const union { ALuint u; |