ithewei 7 年 前
コミット
06a4ffe51c
2 ファイル変更1 行追加4 行削除
  1. 0 3
      h.h
  2. 1 1
      msvc_getopt.h

+ 0 - 3
h.h

@@ -3,9 +3,6 @@
 
 // platform
 #include "hplatform.h"
-#ifdef _MSC_VER
-#include "msvc_getopt.h"
-#endif
 
 // c
 #include "hversion.h"

+ 1 - 1
msvc_getopt.h

@@ -112,7 +112,7 @@ extern char __declspec(dllimport) *__progname;
 #ifdef __CYGWIN__
 static char EMSG[] = "";
 #else
-#define	EMSG		""
+#define	EMSG		(char*)""
 #endif
 
 static int getopt_internal(int, char * const *, const char *,