aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/LargeFilesWindows.c
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-11-17 07:02:07 +1100
committerBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-11-17 07:02:39 +1100
commit1ddfdc1a880279ce07b2c43f60b7aa138d4ad315 (patch)
tree4ea142d9013a6dfdf84cab401f561d45ff8ccad4 /cmake/LargeFilesWindows.c
parentd613a87cdb6b27bf5f36200295f926a91f8d27be (diff)
downloadexternal_heimdall-1ddfdc1a880279ce07b2c43f60b7aa138d4ad315.zip
external_heimdall-1ddfdc1a880279ce07b2c43f60b7aa138d4ad315.tar.gz
external_heimdall-1ddfdc1a880279ce07b2c43f60b7aa138d4ad315.tar.bz2
CMake files for Heimdall CLI and mingw support
Diffstat (limited to 'cmake/LargeFilesWindows.c')
-rw-r--r--cmake/LargeFilesWindows.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/LargeFilesWindows.c b/cmake/LargeFilesWindows.c
new file mode 100644
index 0000000..85fadd8
--- /dev/null
+++ b/cmake/LargeFilesWindows.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+int main()
+{
+ __int64 off = 0;
+ _fseeki64(NULL, off, SEEK_SET);
+ return 0;
+}