From 9a30faaa2a9d8d42c861da081b74b7bdfae2853c Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 8 Apr 2024 17:26:12 +0800 Subject: [PATCH] 1 --- test/testhittesting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testhittesting.c b/test/testhittesting.c index 088c710b4..23ff0195f 100644 --- a/test/testhittesting.c +++ b/test/testhittesting.c @@ -67,7 +67,7 @@ int main(int argc, char **argv) SDL_Init(SDL_INIT_VIDEO); window = SDL_CreateWindow("Drag the red boxes", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 640, 480, SDL_WINDOW_BORDERLESS | SDL_WINDOW_RESIZABLE); renderer = SDL_CreateRenderer(window, -1, 0); -#if !define(__OHOS__) +#if !defined (__OHOS__) if (SDL_SetWindowHitTest(window, hitTest, NULL) == -1) { SDL_Log("Enabling hit-testing failed!\n"); SDL_Quit(); -- Gitee