]> git.mxchange.org Git - flightgear.git/blobdiff - src/MultiPlayer/multiplaytxmgr.cxx
Moved random ground cover object management code (userdata.[ch]xx) over
[flightgear.git] / src / MultiPlayer / multiplaytxmgr.cxx
index 9373a09bb7c75b3d9d93116234d37c421d80bbdc..4ec00060207c93340791c166b5523e4977ed5c2d 100644 (file)
 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 //
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#ifdef FG_MPLAYER_AS
+
 /******************************************************************
 * $Id$
 *
@@ -31,7 +37,7 @@
 ******************************************************************/
 
 #include <sys/types.h>
-#ifndef _MSC_VER
+#if !(defined(_MSC_VER) || defined(__MINGW32__))
 # include <sys/socket.h>
 # include <netinet/in.h>
 # include <arpa/inet.h>
@@ -235,3 +241,5 @@ void FGMultiplayTxMgr::SendTextMessage(const string &sMsgText) const {
 
 }
 
+#endif // FG_MPLAYER_AS
+