Skip to content

Commit fca6701

Browse files
committed
Replace comment with code
1 parent c639713 commit fca6701

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Modules/_uuidmodule.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,11 @@ py_UuidCreate(PyObject *Py_UNUSED(context),
7878
static int
7979
uuid_exec(PyObject *module) {
8080
assert(sizeof(uuid_t) == 16);
81-
#if defined(HAVE_UUID_GENERATE_TIME_SAFE)
81+
#if defined(MS_WINDOWS)
82+
int has_uuid_generate_time_safe = 0;
83+
#elif defined(HAVE_UUID_GENERATE_TIME_SAFE)
8284
int has_uuid_generate_time_safe = 1;
8385
#else
84-
/* including on Windows */
8586
int has_uuid_generate_time_safe = 0;
8687
#endif
8788
if (PyModule_AddIntConstant(module, "has_uuid_generate_time_safe",

0 commit comments

Comments
 (0)