OSDN Git Service

[Refactor] 重複していたプリプロを整理・統合した
authorHourier <66951241+Hourier@users.noreply.github.com>
Thu, 14 Oct 2021 12:58:46 +0000 (21:58 +0900)
committerHourier <66951241+Hourier@users.noreply.github.com>
Thu, 14 Oct 2021 12:58:46 +0000 (21:58 +0900)
src/io/record-play-movie.cpp

index 4209b5d..791326e 100644 (file)
 
 #ifdef WINDOWS
 #include <windows.h>
+#define WAIT 100
 #else
 #include "system/h-basic.h"
 #ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
 #endif
+#define WAIT 100 * 1000 /* ブラウズ側のウエイト(us単位) */
 #endif
 
 #define RINGBUF_SIZE 1024 * 1024
 #define FRESH_QUEUE_SIZE 4096
-#ifdef WINDOWS
-#define WAIT 100
-#else
-#define WAIT 100 * 1000 /* ブラウズ側のウエイト(us単位) */
-#endif
 #define DEFAULT_DELAY 50
 #define RECVBUF_SIZE 1024