summaryrefslogtreecommitdiff
path: root/sandbox-capsicum.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2014-01-18 21:12:42 +1100
committerDarren Tucker <dtucker@zip.com.au>2014-01-18 21:12:42 +1100
commitfdce3731660699b2429e93e822f2ccbaccd163ae (patch)
tree2f80622e6f2fec28032b21b106e663a3040f33a6 /sandbox-capsicum.c
parent1411c9263f46e1ee49d0d302bf7258ebe69ce827 (diff)
- (dtucker) [configure.ac] On Cygwin the getopt variables (like optargs,
optind) are defined in getopt.h already. Unfortunately they are defined as "declspec(dllimport)" for historical reasons, because the GNU linker didn't allow auto-import on PE/COFF targets way back when. The problem is the dllexport attributes collide with the definitions in the various source files in OpenSSH, which obviousy define the variables without declspec(dllimport). The least intrusive way to get rid of these warnings is to disable warnings for GCC compiler attributes when building on Cygwin. Patch from vinschen at redhat.com.
Diffstat (limited to 'sandbox-capsicum.c')
0 files changed, 0 insertions, 0 deletions