Skip to content

Commit

Permalink
silo patch for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrush committed Jul 30, 2024
1 parent 70affd5 commit f241a7b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/build_ascent/2024_07_29_silo-pr389-win32-bugfix.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
diff --git a/src/silo/silo_win32_compatibility.h b/src/silo/silo_win32_compatibility.h
index bc4d38f..00b970c 100644
--- a/src/silo/silo_win32_compatibility.h
+++ b/src/silo/silo_win32_compatibility.h
@@ -1,4 +1,4 @@
-#ifdef WIN32
+#ifdef _WIN32
#ifndef SILO_WIN32_COMPATIBILITY
#define SILO_WIN32_COMPATIBILITY
#include <io.h> /* Include Windows IO *
1 change: 1 addition & 0 deletions scripts/build_ascent/build_ascent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ if [ ! -d ${silo_src_dir} ]; then
# apply silo patches
cd ${silo_src_dir}
patch -p1 < ${script_dir}/2024_07_25_silo_4_11_cmake_fix.patch
patch -p1 < ${script_dir}/2024_07_29_silo-pr389-win32-bugfix.patch
cd ${root_dir}
fi

Expand Down

0 comments on commit f241a7b

Please sign in to comment.