Hi all,

On Sun, 2006-07-23 at 12:58 +0800, Gerrit Voss wrote:
> 
> besides
> 
> #ifdef WIN32_LEAN_AND_MEAN
> #undef WIN32_LEAN_AND_MEAN
> #endif 
> 
> in OSGConfig.h ;-)

;)

> my favorite would be to make OpenSG use WIN32_LEAN_AND_MEAN as my hope 
> would be that if it works with this define set it should work without
> it. The other way round does not seem to work. The reason we had not to
> use WIN32_LEAN_AND_MEAN was that the MS winsock headers were not
> guarded properly so depending on your include order of windows.h,
> winsock.h and winsock2.h the compilation could fail. But this might
> have changed with more recent compiler versions. I'll give it a try
> once I'm in front of a windows machine again.

I don't know if I want to depend on MS to fix problems in their
headers... Especially in header that they consider obsolete.

I would rather try to keep our headers as MS-free as we can. In this,
case, move the implementation into the cpp, as the function is not
time-critical anyway.

        Dirk



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to