Skip to content

Commit

Permalink
Added mingw-lowercase-include patch
Browse files Browse the repository at this point in the history
  • Loading branch information
stemann committed Apr 2, 2022
1 parent 79ce38e commit 29ee615
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions G/Gloo/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ sources = [
script = raw"""
cd $WORKSPACE/srcdir/gloo
atomic_patch -p1 ../patches/mingw32.patch
atomic_patch -p1 ../patches/mingw-lowercase-include.patch
mkdir build
cd build
if [[ $target != *w64-mingw32* ]]; then
Expand Down
13 changes: 13 additions & 0 deletions G/Gloo/bundled/patches/mingw-lowercase-include.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/gloo/types.h b/gloo/types.h
index 4635f41..847e96d 100644
--- a/gloo/types.h
+++ b/gloo/types.h
@@ -26,7 +26,7 @@
#include "gloo/common/common.h"

#ifdef _WIN32
-#include <BaseTsd.h>
+#include <basetsd.h>
typedef SSIZE_T ssize_t;
#endif

0 comments on commit 29ee615

Please sign in to comment.