evolution-data-server r8788 - branches/gnome-2-22/camel



Author: tml
Date: Tue May 13 16:15:39 2008
New Revision: 8788
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8788&view=rev

Log:
2008-05-13  Tor Lillqvist  <tml novell com>

	* camel-net-utils.h [Win32]: Define WIN32_LEAN_AND_MEAN around
	including <winsock2.h> to reduce the namespace pollution,
	especially DATADIR clashes.



Modified:
   branches/gnome-2-22/camel/ChangeLog
   branches/gnome-2-22/camel/camel-net-utils.h

Modified: branches/gnome-2-22/camel/camel-net-utils.h
==============================================================================
--- branches/gnome-2-22/camel/camel-net-utils.h	(original)
+++ branches/gnome-2-22/camel/camel-net-utils.h	Tue May 13 16:15:39 2008
@@ -29,7 +29,9 @@
 #include <sys/socket.h>
 #include <netdb.h>
 #else
+#define WIN32_LEAN_AND_MEAN
 #include <winsock2.h>
+#undef WIN32_LEAN_AND_MEAN
 #include <ws2tcpip.h>
 #endif
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]