mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Merge pull request #1738 from DennisHeimbigner/xgetoptfix.dmh
Condition XGetOpt on MSC_VER not WIN32
This commit is contained in:
commit
39636b3f23
@ -73,10 +73,10 @@ THIS SOFTWARE.
|
||||
#include <unistd.h> /* read() getopt() */
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef _MSC_VER
|
||||
#include "XGetopt.h"
|
||||
#include <io.h>
|
||||
#define snprintf _snprintf
|
||||
#include "XGetopt.h"
|
||||
#endif
|
||||
|
||||
#define X_ALIGN 4
|
||||
|
Loading…
Reference in New Issue
Block a user