mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-24 16:04:40 +08:00
Merge pull request #1447 from HerveAncher/master
Fix XGetopt.h inclusion for Windows/MinGW
This commit is contained in:
commit
e53481f243
@ -18,7 +18,7 @@ Research/Unidata. See \ref copyright file for more info. */
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef _MSC_VER
|
||||
#define snprintf _snprintf
|
||||
#include "XGetopt.h"
|
||||
int opterr;
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include "oc.h"
|
||||
#include "ocx.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef _MSC_VER
|
||||
#include "XGetopt.h"
|
||||
int opterr, optind;
|
||||
char* optarg;
|
||||
|
Loading…
Reference in New Issue
Block a user