From 5df5e07ce6fd776c8c28b8a39c881d4e3ebd748f Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 1 Mar 2000 12:51:03 +0000 Subject: [PATCH] [__NetBSD__]: Define `unix'. --- src/fileio.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/fileio.c b/src/fileio.c index b731916f438..8c03a5b595b 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -3215,9 +3215,13 @@ The value is an integer.") XSETINT (value, (~ realmask) & 0777); return value; } + -#ifdef unix +#ifdef __NetBSD__ +#define unix 42 +#endif +#ifdef unix DEFUN ("unix-sync", Funix_sync, Sunix_sync, 0, 0, "", "Tell Unix to finish all pending disk updates.") () -- 2.39.5