incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 118517] Update standard twain.h header to version 2.1
Date Fri, 28 Oct 2011 21:55:38 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=118517

Pedro Giffuni <pfg@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Pedro Giffuni <pfg@apache.org> 2011-10-28 21:55:38 UTC ---
I was wondering why not many projects have updated this and why
there doesn't seem to be mingw patches available.

Ming32 seems to be a bit weird as it sets __GNUC__ but according
to the Wine guys it looks like also defines itself as WIN32.

Maybe the original twain header works fine with Ming32 but JIC,
I made a workaround that should work with Mingw64 too: Mingw32
will be detected early and the 32 or 64 bit flags will be set
as if it were a Microsoft compiler but it will be forced to
behave as with our previous twain versions.

I haven't had feedback on the previous patches but this one
seems bulletproof.

twain/inc/twain.h

Committed as revision 1190602.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Mime
View raw message