OSDN Git Service

update release date.
[nkf/nkf.git] / nkf.h
diff --git a/nkf.h b/nkf.h
index 0578e1c..7f41361 100755 (executable)
--- a/nkf.h
+++ b/nkf.h
@@ -6,6 +6,7 @@
  */
 
 #ifndef NKF_H
+#define NKF_H
 
 /* Wrapper of configurations */
 
@@ -82,7 +83,7 @@ void  setbinmode(FILE *fp)
 #define setbinmode(fp) setmode(fileno(fp), O_BINARY)
 #endif
 #else /* UNIX */
-#define setbinmode(fp)
+#define setbinmode(fp) (void)(fp)
 #endif
 
 #ifdef _IOFBF /* SysV and MSDOS, Windows */