Skip to content

Commit

Permalink
Merge pull request #98 from Mykrobe-tools/windows_build_debug
Browse files Browse the repository at this point in the history
Fix appveyor build
  • Loading branch information
martinghunt authored Sep 24, 2020
2 parents a96fcbd + d211444 commit dadc758
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ci/windows_file_fixes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit dadc758

Please sign in to comment.