• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

WindowsIncludes.h

Go to the documentation of this file.
00001 #if defined(__X360__) || defined(_XBOX)
00002 #elif defined (_WIN32)
00003 #include <WinSock2.h>
00004 #include <windows.h>
00005 
00006 // Must always include Winsock2.h before windows.h
00007 // or else:
00008 // winsock2.h(99) : error C2011: 'fd_set' : 'struct' type redefinition
00009 // winsock2.h(134) : warning C4005: 'FD_SET' : macro redefinition
00010 // winsock.h(83) : see previous definition of 'FD_SET'
00011 // winsock2.h(143) : error C2011: 'timeval' : 'struct' type redefinition
00012 // winsock2.h(199) : error C2011: 'hostent' : 'struct' type redefinition
00013 // winsock2.h(212) : error C2011: 'netent' : 'struct' type redefinition
00014 // winsock2.h(219) : error C2011: 'servent' : 'struct' type redefinition 
00015 
00016 #endif

Generated on Thu Sep 30 2010 01:27:29 for RakNet by  doxygen 1.7.1