Switch to using WAPP_PLATFORM_CPP instead of __cplusplus
This commit is contained in:
@@ -2,11 +2,12 @@
|
||||
#define UUID_H
|
||||
|
||||
#include "../common/aliases/aliases.h"
|
||||
#include "../common/platform/platform.h"
|
||||
#include "../core/strings/str8/str8.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#ifdef WAPP_PLATFORM_CPP
|
||||
BEGIN_C_LINKAGE
|
||||
#endif // __cplusplus
|
||||
#endif // WAPP_PLATFORM_CPP
|
||||
|
||||
#define UUID_BUF_LENGTH 48
|
||||
#define WAPP_UUID_SPEC WAPP_STR8_SPEC
|
||||
@@ -27,8 +28,8 @@ struct uuid {
|
||||
// If the pointer is NULL, it skips initialisation.
|
||||
UUID *wapp_uuid_init_uuid4(UUID *uuid);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#ifdef WAPP_PLATFORM_CPP
|
||||
END_C_LINKAGE
|
||||
#endif // __cplusplus
|
||||
#endif // WAPP_PLATFORM_CPP
|
||||
|
||||
#endif // !UUID_H
|
||||
|
||||
Reference in New Issue
Block a user