Skip to content

Conversation

neonene
Copy link
Contributor

@neonene neonene commented Apr 26, 2024

Fixes the following Windows-specific warning since #117629:

 Warning: ...\Windows Kits\10\Include\10.0.22621.0\um\wingdi.h(118,1):
 warning C4005: 'ERROR': macro redefinition [D:\a\...
         (compiling source file '../Python/instruction_sequence.c')
         D:\a\cpython\cpython\Python\instruction_sequence.c(26,1):
         see previous definition of 'ERROR'

wingdi.h:

/* Region Flags */
#define ERROR               0
#define NULLREGION          1
...

cc @iritkatriel

Copy link
Member

@iritkatriel iritkatriel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
close