summaryrefslogtreecommitdiffstats
path: root/heimdall
diff options
context:
space:
mode:
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