Imported Upstream version 0.19.7
[platform/upstream/gettext.git] / gnulib-local / tests / test-environ.c.diff
1 diff --git a/test-environ.c b/test-environ.c
2 index 46a2eab..8afecb7 100644
3 --- a/test-environ.c
4 +++ b/test-environ.c
5 @@ -22,6 +22,13 @@
6  
7  #include <string.h>
8  
9 +/* environ is the exported symbol referencing the internal
10 +   __cygwin_environ variable on cygwin64:
11 +   <https://cygwin.com/ml/cygwin/2013-06/msg00228.html>.  */
12 +#if defined __CYGWIN__ && defined __x86_64__
13 +extern DLL_VARIABLE char **environ;
14 +#endif
15 +
16  int
17  main ()
18  {