Amend r4871: prevent mingw32 from including an incompatible getopt version.

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4872 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
martin 2010-11-08 12:29:15 +00:00
parent ab6511cb63
commit 5e909df85d
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@
#include <getopt.h>
#else
/* Prevent mingw32 from including an incompatible getopt implementation */
#define __GETOPT_H__
#ifdef __cplusplus
extern "C" {
#endif