Skip to content

Commit

Permalink
GH-44754: [C++] Use lowercased windows.h to enable cross-platform b…
Browse files Browse the repository at this point in the history
…uilds (#44755)

### Rationale for this change

`<Windows.h>` doesn't work cross-compiling to Windows with case-sensitive file system.

### What changes are included in this PR?

Use lowercase.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: #44754

Authored-by: Maarten Pronk <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
  • Loading branch information
evetion authored Nov 17, 2024
1 parent e79f65c commit 23328ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/util/io_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
#endif

#ifdef _WIN32
# include <Windows.h>
# include <windows.h>
#else
# include <dlfcn.h>
#endif
Expand Down

0 comments on commit 23328ff

Please sign in to comment.