Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c639713 commit fca6701Copy full SHA for fca6701
Modules/_uuidmodule.c
@@ -78,10 +78,11 @@ py_UuidCreate(PyObject *Py_UNUSED(context),
78
static int
79
uuid_exec(PyObject *module) {
80
assert(sizeof(uuid_t) == 16);
81
-#if defined(HAVE_UUID_GENERATE_TIME_SAFE)
+#if defined(MS_WINDOWS)
82
+ int has_uuid_generate_time_safe = 0;
83
+#elif defined(HAVE_UUID_GENERATE_TIME_SAFE)
84
int has_uuid_generate_time_safe = 1;
85
#else
- /* including on Windows */
86
int has_uuid_generate_time_safe = 0;
87
#endif
88
if (PyModule_AddIntConstant(module, "has_uuid_generate_time_safe",
0 commit comments