mithilesh1125 / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

Replace all occurrences of __MSW32__ with _WIN32 #628

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
__MSW32__ is a tesseract-ocr custom macro. People building on Windows have to 
know about it, document it (as I am currently doing for the new VS2008 Solution 
I have created), and make sure to use it when compiling.

Instead, the code base should be changed to use _WIN32 everywhere that 
__MSW32__ is used (a simple global replace should be all that is required). 
_WIN32 is *automatically* defined by the VC++ compiler so people don't have to 
worry about setting it manually.

See "C/C+ Preprocessor Reference | The Preprocessor | Macros |
Predefined Macros"
(http://msdn.microsoft.com/en-us/library/b0084kay(v=vs.90).aspx) the
complete list of predefined macros for Visual Studio 2008.

Original issue reported on code.google.com by tomp2...@gmail.com on 18 Feb 2012 at 8:19

GoogleCodeExporter commented 9 years ago
Thanks. Fixed in r677

Original comment by zde...@gmail.com on 19 Feb 2012 at 9:51