Merge pull request #1738 from DennisHeimbigner/xgetoptfix.dmh

Condition XGetOpt on MSC_VER not WIN32
This commit is contained in:
Ward Fisher 2020-05-26 16:23:45 -06:00 committed by GitHub
commit 39636b3f23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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