From ea986bbc950a29c52bd0aeb7373de03428aa5c05 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Thu, 17 Aug 2023 12:14:59 -0400 Subject: [PATCH] only allow uuid.h if openssl is included in parent project --- include/blt/std/uuid.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/blt/std/uuid.h b/include/blt/std/uuid.h index 2756f14..8b740ef 100755 --- a/include/blt/std/uuid.h +++ b/include/blt/std/uuid.h @@ -2,7 +2,7 @@ // Created by brett on 15/08/23. // -#ifndef BLT_UUID_H +#if !defined(BLT_UUID_H) && defined(__has_include) && __has_include() #define BLT_UUID_H #include @@ -145,7 +145,6 @@ namespace blt::uuid cpy[0] = data[i]; cpy[1] = data[i + 1]; uuid.str[i / 2] = hex2byte(cpy); - BLT_INFO("i: %d, %d %d, %d, %d", i/2, cpy[0], cpy[1], uuid.str[i/2], hex2byte(cpy)); } } else throw malformed_uuid_exception("UUID is expected as a string of bytes xxxxxxxx or in uuid format 8-4-4-4-12");