Created
July 4, 2018 04:37
-
-
Save mxdevmanuel/8642eec6909d93e098ce410d5d00bb74 to your computer and use it in GitHub Desktop.
Solve the conflict when using Xlib.h and the Qt framework undefining the conflicting definitions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifdef __linux__ | |
#undef Bool | |
#undef CursorShape | |
#undef Expose | |
#undef KeyPress | |
#undef KeyRelease | |
#undef FocusIn | |
#undef FocusOut | |
#undef FontChange | |
#undef None | |
#undef Status | |
#undef Unsorted | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment