OSDN Git Service

[Feature] #40463 FD_SETによるプリプロセッサ分岐を削除. / Removed preprocessor branch by FD_SET.
authordeskull <deskull@users.sourceforge.jp>
Fri, 8 Jan 2021 12:07:28 +0000 (21:07 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Fri, 8 Jan 2021 12:07:28 +0000 (21:07 +0900)
src/util/angband-files.c

index bd22eb4..180f66e 100644 (file)
@@ -19,11 +19,7 @@ int usleep(huge usecs)
 
     int nfds = 0;
 
-#ifdef FD_SET
     fd_set *no_fds = NULL;
-#else
-    int *no_fds = NULL;
-#endif
     if (usecs > 4000000L)
         core(_("不当な usleep() 呼び出し", "Illegal usleep() call"));