Allow compiling as a Unicode application.
[nssm.git] / nssm.h
diff --git a/nssm.h b/nssm.h
index 349e9b9..9d5d1d4 100644 (file)
--- a/nssm.h
+++ b/nssm.h
@@ -5,6 +5,7 @@
 #include <shlwapi.h>\r
 #include <stdarg.h>\r
 #include <stdio.h>\r
+#include <tchar.h>\r
 #include <windows.h>\r
 #include "service.h"\r
 #include "event.h"\r
 #include "io.h"\r
 #include "gui.h"\r
 \r
-int str_equiv(const char *, const char *);\r
-void strip_basename(char *);\r
+int str_equiv(const TCHAR *, const TCHAR *);\r
+void strip_basename(TCHAR *);\r
 \r
-#define NSSM "nssm"\r
-#define NSSM_VERSION "2.21"\r
+#define NSSM _T("nssm")\r
+#define NSSM_VERSION _T("2.21")\r
 #define NSSM_VERSIONINFO 2,21,0,0\r
-#define NSSM_DATE "2013-11-24"\r
+#define NSSM_DATE _T("2013-11-24")\r
 \r
 /*\r
   Throttle the restart of the service if it stops before this many\r