From 58dab46902683cc89c59db2407a4fe1f9fb9e075 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sun, 8 Feb 2026 23:57:09 +0000 Subject: [PATCH] Revert "Update uuid C++ implementation" This reverts commit 1cdb08a81a36aba236206a826aeacaaac2fe0030. --- src/uuid/uuid.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/uuid/uuid.h b/src/uuid/uuid.h index ed493e8..4707378 100644 --- a/src/uuid/uuid.h +++ b/src/uuid/uuid.h @@ -24,11 +24,7 @@ struct WUUID { /* Low level UUID API */ -#ifdef WAPP_PLATFORM_CPP -#define wapp_uuid_create() (WUUID{wapp_str8_buf(UUID_BUF_LENGTH)}) -#else #define wapp_uuid_create() ((WUUID){.uuid = wapp_str8_buf(UUID_BUF_LENGTH)}) -#endif // Just returns the same pointer that was passed in with the UUID initialised. // Fails when passed a NULL pointer.