diff --git a/test/testhittesting.c b/test/testhittesting.c index 088c710b4eccc77a291157b6bdc0a2609e5e562f..23ff0195f3294f48eab73ec7db6993d72a2221f7 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();