added macOS support

This commit is contained in:
v-gulevitc
2023-12-11 15:51:38 +03:00
parent c9031fe151
commit a708dc75ee
5 changed files with 21 additions and 1 deletions
+6 -1
View File
@@ -4,9 +4,14 @@
#include <fstream>
#include <cstring>
#include <type_traits>
#ifdef __APPLE__
#include <OpenAL/al.h>
#include <OpenAL/alc.h>
#else
#include <AL/al.h>
#include <AL/alc.h>
#endif
bool is_big_endian(void){
union {