summaryrefslogtreecommitdiff
path: root/lib/unistd.in.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-02-27 09:09:33 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2018-02-27 09:09:59 -0800
commitb38cb1495d8916ce70785a33fb4dacf64edc904b (patch)
tree540ce7f59a1df8518bddeb53ca81e905f6752b84 /lib/unistd.in.h
parent18ff4be3ea9b402b38a904352f0c819397842c3c (diff)
downloademacs-b38cb1495d8916ce70785a33fb4dacf64edc904b.tar.gz
Update from gnulib
This includes: 2018-02-27 environ: fix link error on 32-bit Cygwin * doc/misc/texinfo.tex, lib/unistd.in.h: Copy from gnulib.
Diffstat (limited to 'lib/unistd.in.h')
-rw-r--r--lib/unistd.in.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unistd.in.h b/lib/unistd.in.h
index 13f4bb6cd16..beeb8e1d6fd 100644
--- a/lib/unistd.in.h
+++ b/lib/unistd.in.h
@@ -400,7 +400,7 @@ _GL_WARN_ON_USE (dup3, "dup3 is unportable - "
#if @GNULIB_ENVIRON@
-# if defined __CYGWIN__
+# if defined __CYGWIN__ && !defined __i386__
/* The 'environ' variable is defined in a DLL. Therefore its declaration needs
the '__declspec(dllimport)' attribute, but the system's <unistd.h> lacks it.
This leads to a link error on 64-bit Cygwin when the option