diff options
author | Fabian Meumertzheim <meumertzheim@code-intelligence.com> | 2022-08-08 13:51:11 +0200 |
---|---|---|
committer | Fabian Meumertzheim <fabian@meumertzhe.im> | 2022-08-10 13:55:32 +0200 |
commit | d47477729fad2016d6eb81101532085120da7153 (patch) | |
tree | bd351eccf16f929403df07ddaa5c1922abe6faff /driver/jvm_tooling.cpp | |
parent | cc83f0d50d88d21d6c8bade046f7112a56d8f155 (diff) | |
download | jazzer-api-d47477729fad2016d6eb81101532085120da7153.tar.gz |
driver: Remove unused SHA1 helper
Inline the remaining single constant into jvm_tooling.cpp.
Diffstat (limited to 'driver/jvm_tooling.cpp')
-rw-r--r-- | driver/jvm_tooling.cpp | 5 |
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 |