From efe93831fde7057647b6c838f31962004da70e76 Mon Sep 17 00:00:00 2001 From: Cameron Hart Date: Sun, 7 Jul 2013 12:43:16 +1000 Subject: [PATCH] Linux compile fixes. --- include/bx/os.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/bx/os.h b/include/bx/os.h index 0250871..d63cc51 100644 --- a/include/bx/os.h +++ b/include/bx/os.h @@ -56,7 +56,7 @@ namespace bx #if BX_PLATFORM_WINDOWS FreeLibrary( (HMODULE)_handle); #else - ::dlclose(_lib); + ::dlclose(_handle); #endif // BX_PLATFORM_ } @@ -74,7 +74,7 @@ namespace bx #if BX_PLATFORM_WINDOWS SetEnvironmentVariableA(_name, _value); #else - setenv(_name, _value, 1); + ::setenv(_name, _value, 1); #endif // BX_PLATFORM_ }