#ifndef NALL_XORG_GUARD_HPP #define NALL_XORG_GUARD_HPP #define Atom XlibAtom #define Bool XlibBool #define Display XlibDisplay #define Screen XlibScreen #define Window XlibWindow #define Above XlibAbove #define Below XlibBelow #else #undef NALL_XORG_GUARD_HPP #undef Atom #undef Bool #undef Display #undef Screen #undef Window #undef Above #undef Below #ifndef NALL_XORG_GUARD_CONSTANTS #define NALL_XORG_GUARD_CONSTANTS enum XlibConstants : int { XlibButton1 = Button1, XlibButton2 = Button2, XlibButton3 = Button3, XlibButton4 = Button4, XlibButton5 = Button5, XlibCurrentTime = CurrentTime, XlibFalse = False, XlibNone = None, XlibTrue = True, }; #endif #undef Button1 #undef Button2 #undef Button3 #undef Button4 #undef Button5 #undef CurrentTime #undef False #undef None #undef True #undef MAX #undef MIN #endif