diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-08-13 11:28:42 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-08-13 11:28:42 +0000 |
commit | ae89a49602a378b6b81dfa3698b7572b03c948e1 (patch) | |
tree | d44a310679d2acfa00d11bb5a119cb753f1065cb /winsup/cygwin/syscalls.cc | |
parent | 2c34141c56ae31498751b0cfedc16a0d0c7f0c34 (diff) | |
download | cygnal-ae89a49602a378b6b81dfa3698b7572b03c948e1.tar.gz cygnal-ae89a49602a378b6b81dfa3698b7572b03c948e1.tar.bz2 cygnal-ae89a49602a378b6b81dfa3698b7572b03c948e1.zip |
* cygwin.din: Accomodate change from cygwin_lstat to lstat.
* syscalls.cc: Add defines to avoid declaration issues when
renaming cygwin_lstat back to lstat.
(lstat): Reverted name change from cygwin_lstat.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r-- | winsup/cygwin/syscalls.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 60f371164..f2e79760e 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -9,6 +9,7 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for details. */ #define fstat __FOOfstat__ +#define lstat __FOOlstat__ #define stat __FOOstat__ #define _close __FOO_close__ #define _lseek __FOO_lseek__ @@ -38,6 +39,7 @@ details. */ #include <rpc.h> #undef fstat +#undef lstat #undef stat #include <cygwin/version.h> @@ -1199,7 +1201,7 @@ lstat64 (const char *name, struct __stat64 *buf) /* lstat: Provided by SVR4 and 4.3+BSD, POSIX? */ extern "C" int -cygwin_lstat (const char *name, struct __stat32 *buf) +lstat (const char *name, struct __stat32 *buf) { struct __stat64 buf64; int ret = lstat64 (name, &buf64); |