mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
added macOS support
This commit is contained in:
parent
c9031fe151
commit
a708dc75ee
5 changed files with 21 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue