mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-29 13:39:19 +00:00
Fix macOS build (#146)
* Fix macOS build * Fix *BSD build * Add missing *BSD include
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
//$ #include <uuid/uuid.h>
|
||||
#ifdef OSX
|
||||
#include <uuid/uuid.h>
|
||||
#elif defined(BSD)
|
||||
#elif defined(PLATFORM_BSD)
|
||||
#include <uuid.h>
|
||||
#else
|
||||
typedef unsigned char uuid_t[16];
|
||||
@@ -398,7 +398,7 @@ public:
|
||||
uuid_t newId;
|
||||
#ifdef OSX
|
||||
uuid_generate( newId );
|
||||
#elif defined(BSD)
|
||||
#elif defined(PLATFORM_BSD)
|
||||
uint32_t status;
|
||||
uuid_create( &newId, &status );
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user