瀏覽代碼

Fixed HAVE_SIGNAL_SUPPORT typo in commit 63f307fe1fa662dbf2ffb2d2194d2d8b3191257d (thanks @sezero!)

Sam Lantinga 2 年之前
父節點
當前提交
bb5568ac4f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/events/SDL_quit.c

+ 1 - 1
src/events/SDL_quit.c

@@ -31,7 +31,7 @@
 #include "SDL_events.h"
 #include "SDL_events_c.h"
 
-#if defined(HAVE_SIGNAL_H) && defined(HAVE_SIGACTION)
+#if defined(HAVE_SIGNAL_H) || defined(HAVE_SIGACTION)
 #define HAVE_SIGNAL_SUPPORT 1
 #endif