fix conditional compilation errors

This commit is contained in:
Vincent Wei
2020-01-21 12:20:04 +08:00
parent dc1d0a8016
commit 82497a4032
+2
View File
@@ -563,6 +563,8 @@ do { \
# define BLOCK_DRAW_SEM(pdc)
# define UNBLOCK_DRAW_SEM(pdc)
# define IS_SCREEN_SURFACE(pdc) \
(pdc->surface == __gal_screen)
# define WITHOUT_DRAWING(pdc) \
(__mg_switch_away && pdc->surface == __gal_screen)
#endif /* defined _MGRM_THREADS */