aboutsummaryrefslogtreecommitdiff
path: root/driver/jvm_tooling.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'driver/jvm_tooling.cpp')
-rw-r--r--driver/jvm_tooling.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/driver/jvm_tooling.cpp b/driver/jvm_tooling.cpp
index cca58f99..63d2d5a5 100644
--- a/driver/jvm_tooling.cpp
+++ b/driver/jvm_tooling.cpp
@@ -29,7 +29,6 @@
#include "gflags/gflags.h"
#include "glog/logging.h"
#include "tools/cpp/runfiles/runfiles.h"
-#include "utils.h"
DEFINE_string(cp, ".",
"the classpath to use for fuzzing. Behaves analogously to java's "
@@ -93,10 +92,12 @@ DEFINE_bool(hooks, true,
"coverage information will be processed. This can be useful for "
"running a regression test on non-instrumented bytecode.");
-#ifdef _WIN32
+#if defined(_WIN32) || defined(_WIN64)
#define ARG_SEPARATOR ";"
+constexpr auto kPathSeparator = '\\';
#else
#define ARG_SEPARATOR ":"
+constexpr auto kPathSeparator = '/';
#endif
extern "C" [[maybe_unused]] JNIEXPORT jint JNICALL