summaryrefslogtreecommitdiff
path: root/DevIL/src-ILUT/src/ilut_win32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'DevIL/src-ILUT/src/ilut_win32.cpp')
-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