Mercurial > emacs
comparison src/fileio.c @ 27925:8ef4ce88fa64
[__NetBSD__]: Define `unix'.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 01 Mar 2000 12:51:03 +0000 |
parents | a36c3e02f43b |
children | 9fa9af3f0ca7 |
comparison
equal
deleted
inserted
replaced
27924:1efb3140e4b2 | 27925:8ef4ce88fa64 |
---|---|
3213 umask (realmask); | 3213 umask (realmask); |
3214 | 3214 |
3215 XSETINT (value, (~ realmask) & 0777); | 3215 XSETINT (value, (~ realmask) & 0777); |
3216 return value; | 3216 return value; |
3217 } | 3217 } |
3218 | |
3218 | 3219 |
3220 #ifdef __NetBSD__ | |
3221 #define unix 42 | |
3222 #endif | |
3223 | |
3219 #ifdef unix | 3224 #ifdef unix |
3220 | |
3221 DEFUN ("unix-sync", Funix_sync, Sunix_sync, 0, 0, "", | 3225 DEFUN ("unix-sync", Funix_sync, Sunix_sync, 0, 0, "", |
3222 "Tell Unix to finish all pending disk updates.") | 3226 "Tell Unix to finish all pending disk updates.") |
3223 () | 3227 () |
3224 { | 3228 { |
3225 sync (); | 3229 sync (); |