summaryrefslogtreecommitdiff
path: root/tools/tools-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tools-common.c')
-rw-r--r--tools/tools-common.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/tools-common.c b/tools/tools-common.c
index a78bc9a..db17880 100644
--- a/tools/tools-common.c
+++ b/tools/tools-common.c
@@ -219,15 +219,9 @@ tools_exec_command(const char *prefix, int real_argc, char **real_argv)
}
command = real_argv[0];
-#ifdef _MSC_VER
-#define PATH_SEP '\\'
-#else
-#define PATH_SEP '/'
-#endif
if (!snprintf_safe(executable, sizeof(executable),
- "%s%c%s-%s", LIBXKBCOMMON_TOOL_PATH, PATH_SEP,
- prefix, command)) {
+ "%s/%s-%s", LIBXKBCOMMON_TOOL_PATH, prefix, command)) {
fprintf(stderr, "Failed to assemble command\n");
return EXIT_FAILURE;
}