From 7d15c25b3aee38a84987513daf79055bd511d9d0 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Wed, 5 Sep 2012 20:47:21 -0400 Subject: Hax to make it boot --- install.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install.cpp') diff --git a/install.cpp b/install.cpp index 4d73aa9b0..8d36cb553 100644 --- a/install.cpp +++ b/install.cpp @@ -46,7 +46,7 @@ static const float DEFAULT_FILES_PROGRESS_FRACTION = 0.4; static const float DEFAULT_IMAGE_PROGRESS_FRACTION = 0.1; // If the package contains an update binary, extract it and run it. -static int +extern "C" int try_update_binary(const char *path, ZipArchive *zip, int* wipe_cache) { const ZipEntry* binary_entry = mzFindZipEntry(zip, ASSUMED_UPDATE_BINARY_NAME); -- cgit v1.2.3