summaryrefslogtreecommitdiff
path: root/twain
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-04-17 11:09:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-04-17 11:51:14 +0200
commitc2f848f79fdcd56dea9410fe04ed43580da2c9ab (patch)
tree10796a18337a7f40b4dbcc37c8cdc09add7daeb4 /twain
parented2ef0a97e49692085805702e089da917222078b (diff)
-Werror=undef (MinGW, twain)
Change-Id: I6ff83d58808889d12ca1bbf899e2d6c823cb7726
Diffstat (limited to 'twain')
-rw-r--r--twain/inc/twain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/twain/inc/twain.h b/twain/inc/twain.h
index 7b2376d066db..41d482009f99 100644
--- a/twain/inc/twain.h
+++ b/twain/inc/twain.h
@@ -115,7 +115,7 @@
#ifdef WIN32
#ifdef __MINGW32__
#pragma pack (push, 2)
- #elif __BORLANDC__ //(Mentor June 13, 1996) if using a Borland compiler
+ #elif defined __BORLANDC__ //(Mentor June 13, 1996) if using a Borland compiler
#pragma option -a2 //(Mentor June 13, 1996) switch to word alignment
#else //(Mentor June 13, 1996) if we're using some other compiler
#pragma pack (push, before_twain)
@@ -1999,7 +1999,7 @@ typedef TW_UINT16 (*DSENTRYPROC)(pTW_IDENTITY,
#ifdef WIN32
#ifdef __MINGW32__
#pragma pack (pop)
- #elif __BORLANDC__ //(Mentor June 13, 1996) if we're using a Borland compiler
+ #elif defined __BORLANDC__ //(Mentor June 13, 1996) if we're using a Borland compiler
#pragma option -a. //(Mentor October 30, 1996) switch back to original alignment
#else //(Mentor June 13, 1996) if NOT using a Borland compiler
#pragma pack (pop, before_twain)