Change UUID to WUUID
Windows defines a UUID struct that causes clashes
This commit is contained in:
@@ -15,8 +15,8 @@ BEGIN_C_LINKAGE
|
||||
#define WAPP_UUID_SPEC WAPP_STR8_SPEC
|
||||
#define wapp_uuid_varg(UUID) wapp_str8_varg((UUID).uuid)
|
||||
|
||||
typedef struct uuid UUID;
|
||||
struct uuid {
|
||||
typedef struct wapp_uuid WUUID;
|
||||
struct wapp_uuid {
|
||||
Str8 uuid;
|
||||
};
|
||||
|
||||
@@ -28,7 +28,7 @@ struct uuid {
|
||||
|
||||
// Just returns the same pointer that was passed in with the UUID initialised.
|
||||
// Fails when passed a NULL pointer.
|
||||
UUID *wapp_uuid_init_uuid4(UUID *uuid);
|
||||
WUUID *wapp_uuid_init_uuid4(WUUID *uuid);
|
||||
|
||||
#ifdef WAPP_PLATFORM_CPP
|
||||
END_C_LINKAGE
|
||||
|
||||
Reference in New Issue
Block a user