Browse code

Post tchar.h removal cleanup

Remove some unused defines.

Change-Id: Ib3a166ead912beb2a591105c84d96d342664c05f
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20250319142234.25046-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg31172.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>

Frank Lichtenheld authored on 2025/03/19 23:22:24
Showing 2 changed files
... ...
@@ -24,11 +24,6 @@
24 24
 #ifndef _SERVICE_H
25 25
 #define _SERVICE_H
26 26
 
27
-/* We do not support non-unicode builds */
28
-#ifndef UNICODE
29
-#define UNICODE
30
-#endif
31
-
32 27
 #ifdef HAVE_CONFIG_H
33 28
 #include "config.h"
34 29
 #endif
... ...
@@ -22,13 +22,11 @@
22 22
 #ifndef BASIC_H
23 23
 #define BASIC_H
24 24
 
25
-#ifdef _UNICODE
26
-#define PRIsLPWSTR      "ls"
27
-#define PRIsLPOLESTR    "ls"
28
-#else
29
-#define PRIsLPWSTR      "s"
30
-#define PRIsLPOLESTR    "ls"
25
+/* We do not support non-unicode builds */
26
+#ifndef UNICODE
27
+#define UNICODE
31 28
 #endif
29
+
32 30
 #define PRIXGUID        "{%08lX-%04hX-%04hX-%02hhX%02hhX-%02hhX%02hhX%02hhX%02hhX%02hhX%02hhX}"
33 31
 #define PRIGUID_PARAM(g) \
34 32
     (g).Data1, (g).Data2, (g).Data3, (g).Data4[0], (g).Data4[1], (g).Data4[2], (g).Data4[3], (g).Data4[4], (g).Data4[5], (g).Data4[6], (g).Data4[7]