mirror of
https://github.com/AltraMayor/f3.git
synced 2025-12-13 20:39:59 +01:00
Unify Makefile
The source now identifies the operating system with the help of macros defined by GCC. The macros are documented here: http://sourceforge.net/p/predef/wiki/OperatingSystems/ This patch was inspired by a suggestion from Max Justicz.
This commit is contained in:
2
f3read.c
2
f3read.c
@@ -54,7 +54,7 @@ static void validate_file(const char *path, int number,
|
||||
full_fn_from_number(full_fn, &filename, path, number);
|
||||
printf("Validating file %s ... %s", filename, progress ? BLANK : "");
|
||||
fflush(stdout);
|
||||
#ifdef CYGWIN
|
||||
#ifdef __CYGWIN__
|
||||
/* We don't need write access, but some kernels require that
|
||||
* the file descriptor passed to fdatasync(2) to be writable.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user