diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2017-11-27 16:36:06 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2017-11-27 16:36:06 +0300 |
commit | 76f06705be30663cf823170fe66c9560c9d24566 (patch) | |
tree | a1af0f5967ac536ad6f98e55c8451758e4162b94 /winsup/cygwin/fcntl.cc | |
parent | bc14f1c17487244f9a3c0fccd3400788635a0d48 (diff) |
cygwin: convert most #ifndef __x86_64__ to #ifdef __i386__
Address the real offender
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/fcntl.cc')
-rw-r--r-- | winsup/cygwin/fcntl.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/fcntl.cc b/winsup/cygwin/fcntl.cc index 4859b131c..04eeaeb3b 100644 --- a/winsup/cygwin/fcntl.cc +++ b/winsup/cygwin/fcntl.cc @@ -79,10 +79,7 @@ fcntl64 (int fd, int cmd, ...) return res; } -#ifdef __x86_64__ -EXPORT_ALIAS (fcntl64, fcntl) -EXPORT_ALIAS (fcntl64, _fcntl) -#else +#ifdef __i386__ extern "C" int _fcntl (int fd, int cmd, ...) { @@ -121,4 +118,7 @@ _fcntl (int fd, int cmd, ...) __endtry return -1; } +#else +EXPORT_ALIAS (fcntl64, fcntl) +EXPORT_ALIAS (fcntl64, _fcntl) #endif |