X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gettext-tools%2Fgnulib-tests%2Ftest-environ.c;h=8395e9df3c171ca2fd436edf37f9eef439d637f6;hb=2d875e23d946ff9bf4d3ac469e909b83486123a4;hp=cb3d9f602117417df7a732342bc7a0fa9ad3e5ef;hpb=5d61132f836323aaf2879e04abc9d4056db248a2;p=platform%2Fupstream%2Fgettext.git diff --git a/gettext-tools/gnulib-tests/test-environ.c b/gettext-tools/gnulib-tests/test-environ.c index cb3d9f6..8395e9d 100644 --- a/gettext-tools/gnulib-tests/test-environ.c +++ b/gettext-tools/gnulib-tests/test-environ.c @@ -1,5 +1,5 @@ /* Test of environ variable. - Copyright (C) 2008-2013 Free Software Foundation, Inc. + Copyright (C) 2008-2015 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,6 +22,13 @@ #include +/* environ is the exported symbol referencing the internal + __cygwin_environ variable on cygwin64: + . */ +#if defined __CYGWIN__ && defined __x86_64__ +extern DLL_VARIABLE char **environ; +#endif + int main () {