[gimp] Bug 675510 - tw_func.h contains windows-specific types
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 675510 - tw_func.h contains windows-specific types
- Date: Sat, 19 Jan 2013 17:40:55 +0000 (UTC)
commit 5379a2377ec4b4df240d253823a9740e529a7671
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
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]