summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Pavlov <alexpux@gmail.com>2017-02-02 09:53:24 +0300
committerAlexey Pavlov <alexpux@gmail.com>2017-02-02 09:53:24 +0300
commit2cd8bf6da61c853789f01af475fe755e3160622f (patch)
treee083d35ce9e7291c378e78b89fec6442bc1acd6b
parentc7daffbaf08d3effb4cb33efa94e7b71cbe7bfd5 (diff)
downloaddevil-2cd8bf6da61c853789f01af475fe755e3160622f.tar.gz
Fix export in ILUT
-rw-r--r--DevIL/src-ILUT/src/ilut_win32.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/DevIL/src-ILUT/src/ilut_win32.cpp b/DevIL/src-ILUT/src/ilut_win32.cpp
index 69ace517..110de391 100644
--- a/DevIL/src-ILUT/src/ilut_win32.cpp
+++ b/DevIL/src-ILUT/src/ilut_win32.cpp
@@ -761,10 +761,10 @@ ILboolean ILAPIENTRY ilutLoadResource(HINSTANCE hInst, ILint ID, ILstring Resour
}
-#if !defined(_WIN32_WCE) && !(defined(_WIN32) && defined(__GNUC__))
-#define BUFFSIZE 8192 // Change to suit the efficiency.
ILboolean ILAPIENTRY ilutWinLoadUrl(ILstring Url)
{
+#if !defined(_WIN32_WCE) && !(defined(_WIN32) && defined(__GNUC__))
+#define BUFFSIZE 8192 // Change to suit the efficiency.
HINTERNET Handle, UrlHandle;
DWORD BytesRead = 0, Context = 1;
ILubyte Buff[BUFFSIZE], *Buffer, *TempBuff;
@@ -847,10 +847,10 @@ ILboolean ILAPIENTRY ilutWinLoadUrl(ILstring Url)
}
ifree(Buffer);
+#endif
return IL_TRUE;
}
-#endif
#endif//ILUT_USE_WIN32