diff options
author | Jim Meyering <jim@meyering.net> | 2007-09-17 16:51:01 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-09-17 16:51:01 +0000 |
commit | df048d4832c6fd12fa145c4a661e1ca14a95399b (patch) | |
tree | deefae7a0e21c9665fd13aac4b169f1d7e9fe98b /lib/savewd.c | |
parent | 32ef00cd5f86d5b98cc5833be7830e3621e0c39b (diff) | |
download | gnulib-df048d4832c6fd12fa145c4a661e1ca14a95399b.tar.gz |
* lib/savewd.c (ESTALE) [!defined]: Define.
Reported to be required on Interix by Martin Koeppe.
Diffstat (limited to 'lib/savewd.c')
-rw-r--r-- | lib/savewd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/savewd.c b/lib/savewd.c index 9af3085c97..ca538a9fb5 100644 --- a/lib/savewd.c +++ b/lib/savewd.c @@ -35,6 +35,9 @@ #include "dirname.h" #include "fcntl-safer.h" +#ifndef ESTALE +# define ESTALE -1 +#endif /* Save the working directory into *WD, if it hasn't been saved already. Return true if a child has been forked to do the real |