We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 500cd57 + 359b195 commit 9e5162cCopy full SHA for 9e5162c
include/uuid.h
@@ -17,6 +17,7 @@
17
#include <atomic>
18
#include <span>
19
20
+#if defined(UUID_TIME_GENERATOR) || defined(UUID_SYSTEM_GENERATOR)
21
#ifdef _WIN32
22
#ifndef WIN32_LEAN_AND_MEAN
23
#define WIN32_LEAN_AND_MEAN
@@ -46,6 +47,7 @@
46
47
#include <CoreFoundation/CFUUID.h>
48
#endif
49
50
+#endif
51
52
53
namespace uuids
@@ -805,6 +807,7 @@ namespace uuids
805
807
detail::sha1 hasher;
806
808
};
809
810
+#ifdef UUID_TIME_GENERATOR
811
// !!! DO NOT USE THIS IN PRODUCTION
812
// this implementation is unreliable for good uuids
813
class uuid_time_generator
@@ -886,6 +889,7 @@ namespace uuids
886
889
return {};
887
890
}
888
891
892
893
894
895
namespace std
0 commit comments