Skip to content

Commit ca27edd

Browse files
authored
[java-interop] Fix casing of <fileapi.h> (dotnet#326)
Case sensitivity rears its head, in the form of building xamarin-android under Linux with MXE enabled: $ "/usr/bin/x86_64-w64-mingw32-gcc" ... …/xamarin-android/external/Java.Interop/src/java-interop/java-interop-gc-bridge-mono.c:13:10: fatal error: FileAPI.h: No such file or directory #include <FileAPI.h> (TaskId:1199) ^~~~~~~~~~~ (TaskId:1199) compilation terminated. (TaskId:1199) Change the `<FileAPI.h>` into a platform-neutral `<fileapi.h>` so that the header can be found when building under Linux.
1 parent 43d568c commit ca27edd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java-interop/java-interop-gc-bridge-mono.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "java-interop-util.h"
1111

1212
#ifdef WINDOWS
13-
#include <FileAPI.h>
13+
#include <fileapi.h>
1414
#endif
1515

1616
#ifdef __linux__

0 commit comments

Comments
 (0)