Skip to content

Commit

Permalink
Add define for F_OK on Windows if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
chad-iris committed Apr 4, 2017
1 parent 0fe2d92 commit cc917d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mseed2sac.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
#if defined(WIN32) || defined(WIN64)
#include <io.h>
#define access _access

#ifndef F_OK
#define F_OK 0
#endif
#endif

#define VERSION "2.1"
Expand Down

0 comments on commit cc917d4

Please sign in to comment.