From cc917d4b743c61d71a6ab9aca424cd3bcbb8df9f Mon Sep 17 00:00:00 2001 From: chad-iris Date: Mon, 3 Apr 2017 21:12:22 -0700 Subject: [PATCH] Add define for F_OK on Windows if needed --- src/mseed2sac.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mseed2sac.c b/src/mseed2sac.c index dc24535..641ba78 100644 --- a/src/mseed2sac.c +++ b/src/mseed2sac.c @@ -26,6 +26,10 @@ #if defined(WIN32) || defined(WIN64) #include #define access _access + + #ifndef F_OK + #define F_OK 0 + #endif #endif #define VERSION "2.1"