Mercurial > minori
diff dep/animia/src/win.cc @ 190:2d5823df870f
dep/animia: finalize de-objc-ifying quartz
this also fixes up some... rather dumb mistakes in window.cc :)
HG Enter commit message. Lines beginning with 'HG:' are removed.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 06 Dec 2023 21:26:13 -0500 |
parents | 80d6b28eb29f |
children | bc1ae1810855 |
line wrap: on
line diff
--- a/dep/animia/src/win.cc Wed Dec 06 19:42:33 2023 -0500 +++ b/dep/animia/src/win.cc Wed Dec 06 21:26:13 2023 -0500 @@ -2,9 +2,9 @@ #ifdef WIN32 # include "animia/win/win32.h" -#elif MACOSX +#elif defined(MACOSX) # include "animia/win/quartz.h" -#elif X11 +#elif defined(X11) # include "animia/win/x11.h" #endif @@ -12,9 +12,9 @@ #ifdef WIN32 win32::Win32WinTools os_win; -#elif MACOSX +#elif defined(MACOSX) quartz::QuartzWinTools os_win; -#elif X11 +#elif defined(X11) x11::X11WinTools os_win; #else BaseWinTools os_win;