diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2010-12-12 18:26:02 +0100 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2010-12-12 18:26:02 +0100 |
commit | d19dfa6ee1573633698a5c13efe50dcca5f77a0e (patch) | |
tree | d3ecf1b4fe0a1fa866180e9e821dd1d5a2fa31b5 /getopt.h | |
parent | e9212a2a7f3e4e720129a9422ff177e1c9fddda1 (diff) | |
download | fetchmail-d19dfa6ee1573633698a5c13efe50dcca5f77a0e.tar.gz fetchmail-d19dfa6ee1573633698a5c13efe50dcca5f77a0e.tar.bz2 fetchmail-d19dfa6ee1573633698a5c13efe50dcca5f77a0e.zip |
C++ compatibility hack.
Diffstat (limited to 'getopt.h')
-rw-r--r-- | getopt.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -95,7 +95,7 @@ struct option #define optional_argument 2 #if defined (__STDC__) && __STDC__ -#ifdef __GNU_LIBRARY__ +#if defined (__GNU_LIBRARY__) || defined(__cplusplus) /* Many other libraries have conflicting prototypes for getopt, with differences in the consts, in stdlib.h. To avoid compilation errors, only prototype getopt for the GNU C library. */ |