diff options
author | Chris Robinson <[email protected]> | 2013-03-14 01:29:20 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-03-14 01:29:20 -0700 |
commit | d237410d1d40d65664381d5dbbe3a66e3291d1fa (patch) | |
tree | bec7ad7bfb185722c374bb1b1edeeac3d324ed9f /OpenAL32/Include/alMain.h | |
parent | 2486f13dae69fda15dec9e4aa1c61e7b235d62ff (diff) |
Add a QSA backend for QNX
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 1110e89e..198ab436 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -118,7 +118,7 @@ void *GetSymbol(void *handle, const char *name); typedef void *volatile XchgPtr; -#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)) +#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)) && !defined(__QNXNTO__) typedef ALuint RefCount; static __inline RefCount IncrementRef(volatile RefCount *ptr) { return __sync_add_and_fetch(ptr, 1); } @@ -449,6 +449,9 @@ void alc_ca_probe(enum DevProbe type); ALCboolean alc_opensl_init(BackendFuncs *func_list); void alc_opensl_deinit(void); void alc_opensl_probe(enum DevProbe type); +ALCboolean alc_qsa_init(BackendFuncs *func_list); +void alc_qsa_deinit(void); +void alc_qsa_probe(enum DevProbe type); ALCboolean alc_null_init(BackendFuncs *func_list); void alc_null_deinit(void); void alc_null_probe(enum DevProbe type); |