From d21144492c415321a450d5bd2c83cedff4adf8ab Mon Sep 17 00:00:00 2001 From: Martin Hunt Date: Thu, 24 Sep 2020 12:36:00 +0000 Subject: [PATCH] Try fixing multiple definition of 'rev_nibble_table' compile error --- ci/windows_file_fixes.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ci/windows_file_fixes.py b/ci/windows_file_fixes.py index fead5e48..4d98ecfb 100755 --- a/ci/windows_file_fixes.py +++ b/ci/windows_file_fixes.py @@ -14,6 +14,13 @@ def fix_file(filename, to_replace): print(*lines, sep="", file=f) +filename = os.path.join("mccortex", "src", "global", "util.h") +to_replace = { + "const uint8_t rev_nibble_table[16];\n": "extern const uint8_t rev_nibble_table[16];\n" +} +fix_file(filename, to_replace) + + filename = os.path.join("mccortex", "libs", "xxHash", "xxhsum.c") to_replace = { "#if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__)\n": "#if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(_WIN32)\n"