diff options
Diffstat (limited to 'OpenAL32/Include/alError.h')
-rw-r--r-- | OpenAL32/Include/alError.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenAL32/Include/alError.h b/OpenAL32/Include/alError.h index 479697f2..858f81de 100644 --- a/OpenAL32/Include/alError.h +++ b/OpenAL32/Include/alError.h @@ -2,6 +2,7 @@ #define _AL_ERROR_H_ #include "alMain.h" +#include "logging.h" #ifdef __cplusplus extern "C" { @@ -9,7 +10,7 @@ extern "C" { extern ALboolean TrapALError; -void alSetError(ALCcontext *context, ALenum errorCode, const char *msg, ...); +void alSetError(ALCcontext *context, ALenum errorCode, const char *msg, ...) DECL_FORMAT(printf, 3, 4); #define SETERR_GOTO(ctx, err, lbl, ...) do { \ alSetError((ctx), (err), __VA_ARGS__); \ |