summaryrefslogtreecommitdiffstats
path: root/heimdall
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-12-09 14:50:30 +0100
committerBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-12-09 14:57:29 +0100
commit69c3aafd81e2804216361ac13eea4b157594ce24 (patch)
treef7f498ef12f359d2e26db96a037ed4d84be619e5 /heimdall
parentCMake build fixes (diff)
downloadHeimdall-69c3aafd81e2804216361ac13eea4b157594ce24.tar
Heimdall-69c3aafd81e2804216361ac13eea4b157594ce24.tar.gz
Heimdall-69c3aafd81e2804216361ac13eea4b157594ce24.tar.bz2
Heimdall-69c3aafd81e2804216361ac13eea4b157594ce24.tar.lz
Heimdall-69c3aafd81e2804216361ac13eea4b157594ce24.tar.xz
Heimdall-69c3aafd81e2804216361ac13eea4b157594ce24.tar.zst
Heimdall-69c3aafd81e2804216361ac13eea4b157594ce24.zip
Diffstat (limited to 'heimdall')
-rw-r--r--heimdall/CMakeLists.txt4
-rw-r--r--heimdall/source/Heimdall.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/heimdall/CMakeLists.txt b/heimdall/CMakeLists.txt
index a66a336..bbb72d3 100644
--- a/heimdall/CMakeLists.txt
+++ b/heimdall/CMakeLists.txt
@@ -77,7 +77,7 @@ set(HEIMDALL_SOURCE_FILES
source/VersionAction.h)
include(LargeFiles)
-use_large_files(heimdall YES)
+use_large_files(heimdall false)
add_executable(heimdall ${HEIMDALL_SOURCE_FILES})
target_link_libraries(heimdall PRIVATE pit)
@@ -86,5 +86,5 @@ LINK_DIRECTORIES(../libusb-1.0/lib/mingw)
if(WIN32)
target_link_libraries(heimdall PRIVATE ${CMAKE_SOURCE_DIR}/libusb-1.0/lib/mingw/libusb-1.0.a)
else(WIN32)
- target_link_libraries(heimdalll PRIVATE usb-1.0)
+ target_link_libraries(heimdall PRIVATE usb-1.0)
endif(WIN32)
diff --git a/heimdall/source/Heimdall.h b/heimdall/source/Heimdall.h
index 45d0cbd..205f01d 100644
--- a/heimdall/source/Heimdall.h
+++ b/heimdall/source/Heimdall.h
@@ -48,8 +48,8 @@
#define FileOpen(FILE, MODE) fopen(FILE, MODE)
#define FileClose(FILE) fclose(FILE)
-#define FileSeek(FILE, OFFSET, ORIGIN) fseeko64(FILE, OFFSET, ORIGIN)
-#define FileTell(FILE) ftello64(FILE)
+#define FileSeek(FILE, OFFSET, ORIGIN) fseeko(FILE, OFFSET, ORIGIN)
+#define FileTell(FILE) ftello(FILE)
#define FileRewind(FILE) rewind(FILE)
#endif