Re: MSVC Event Queue issues

Eric Sunshine <[email protected]>
Newsgroups gmane.comp.graphics.crystalspace.devel
Message-ID <CAPig+cRN8fa0ZBNPYx_M9rQ7eoi5zGT3Q_T1sZsQGFasWaWizw@mail.gmail.com>
On Tue, Jul 17, 2012 at 9:21 AM, res <[email protected]> wrote:
> The problem is that the Windows SDK headers do a “#define CreateEvent CreateEventW” somewhere.
> The workaround: #undef CreateEvent (after the <windows.h> #inclusion).
> Actually, CS has a collection of such #undefs for various names otherwise #defined by the Windows SDK headers in include/csutil/win32/sanity.inc. CreateEvent is probably a candidate for addition to that file.
> CS includes that file from it's headers...

I committed exactly this fix as r38423.

-- ES

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.