From fcc1597bdf736daaa3bbc625bc5c07cdcde85aa6 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 10 Sep 2018 23:39:14 +0200 Subject: [PATCH] Fix windows build --- data/windows/build-win-all.sh | 2 +- source/modules/water/water.files.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/windows/build-win-all.sh b/data/windows/build-win-all.sh index ef216d207..994a91995 100755 --- a/data/windows/build-win-all.sh +++ b/data/windows/build-win-all.sh @@ -20,7 +20,7 @@ fi make distclean pushd data/windows ./build-win.sh 32nosse -./pack-win.sh 32 +./pack-win.sh 32nosse mv Carla_${VERSION}-win32.zip Carla_${VERSION}-win32-nosse.zip popd diff --git a/source/modules/water/water.files.cpp b/source/modules/water/water.files.cpp index a8a17e53d..7b364a31a 100644 --- a/source/modules/water/water.files.cpp +++ b/source/modules/water/water.files.cpp @@ -25,7 +25,7 @@ namespace water #ifdef CARLA_OS_WIN static HINSTANCE currentModuleHandle = nullptr; -HINSTANCE water_getCurrentModuleInstanceHandle() noexcept +HINSTANCE getCurrentModuleInstanceHandle() noexcept { if (currentModuleHandle == nullptr) currentModuleHandle = GetModuleHandleA (nullptr);