[gimp/gimp-2-8] Bug 675510 - tw_func.h contains windows-specific types
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] Bug 675510 - tw_func.h contains windows-specific types
- Date: Sat, 19 Jan 2013 17:42:19 +0000 (UTC)
commit b31fcbc0f16bd55773e4dae37b5be386b607c4bb
Author: Ludovic Rousseau <ludovic rousseau gmail com>
Date: Sat Jan 19 18:39:15 2013 +0100
Bug 675510 - tw_func.h contains windows-specific types
Put the stuff in #ifdef G_OS_WIN32
(cherry picked from commit 5379a2377ec4b4df240d253823a9740e529a7671)
plug-ins/twain/tw_func.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/twain/tw_func.h b/plug-ins/twain/tw_func.h
index da9d377..bd7ff27 100644
--- a/plug-ins/twain/tw_func.h
+++ b/plug-ins/twain/tw_func.h
@@ -234,8 +234,10 @@ void registerTransferCallbacks(pTW_SESSION, pTXFR_CB_FUNCS, void *);
void setClientData(pTW_SESSION session, void *clientData);
pTW_SESSION initializeTwain(void);
+#ifdef G_OS_WIN32
void LogLastWinError(void);
BOOL InitApplication(HINSTANCE hInstance);
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow, pTW_SESSION twSession);
+#endif
#endif /* _TW_FUNC_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]