summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/mir_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/mir_string.h')
-rw-r--r--plugins/UserInfoEx/mir_string.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/plugins/UserInfoEx/mir_string.h b/plugins/UserInfoEx/mir_string.h
index 558e86e508..6e2dad0425 100644
--- a/plugins/UserInfoEx/mir_string.h
+++ b/plugins/UserInfoEx/mir_string.h
@@ -33,7 +33,7 @@ Last change by : $Author: ing.u.horn $
#define mir_wcsdup mir_wstrdup
-#ifdef _UNICODE
+
#define mir_tcslen mir_wcslen
#define mir_tcscpy mir_wcscpy
#define mir_tcsncpy mir_wcsncpy
@@ -47,21 +47,7 @@ Last change by : $Author: ing.u.horn $
#define mir_tcsrchr mir_wcsrchr
#define mir_tcsncat_c mir_wcsncat_c
#define mir_IsEmpty mir_IsEmptyW
-#else
- #define mir_tcslen mir_strlen
- #define mir_tcscpy mir_strcpy
- #define mir_tcsncpy mir_strncpy
- #define mir_tcsncat mir_strncat
- #define mir_tcsdup mir_strdup
- #define mir_tcscmp mir_strcmp
- #define mir_tcsncmp mir_strncmp
- #define mir_tcsicmp mir_stricmp
- #define mir_tcsnicmp mir_strnicmp
- #define mir_tcschr mir_strchr
- #define mir_tcsrchr mir_strrchr
- #define mir_tcsncat_c mir_strncat_c
- #define mir_IsEmpty mir_IsEmptyA
-#endif
+
#define mir_strlen(s) (((s)!=0)?strlen(s):0)