MSVC and MingW fixes
This commit is contained in:
parent
80c8fbe4a3
commit
81a1391ed8
3 changed files with 24 additions and 3 deletions
|
@ -20,6 +20,11 @@
|
|||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
//
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef FG_MPLAYER_AS
|
||||
|
||||
/******************************************************************
|
||||
* $Id$
|
||||
|
@ -38,7 +43,7 @@
|
|||
#include "mpplayer.hxx"
|
||||
|
||||
#include <stdlib.h>
|
||||
#ifndef _MSC_VER
|
||||
#if !(defined(_MSC_VER) || defined(__MINGW32__))
|
||||
# include <netdb.h>
|
||||
# include <sys/socket.h>
|
||||
# include <netinet/in.h>
|
||||
|
@ -307,3 +312,5 @@ void MPPlayer::FillMsgHdr(T_MsgHdr *MsgHdr, const int iMsgId) {
|
|||
|
||||
}
|
||||
|
||||
#endif // FG_MPLAYER_AS
|
||||
|
||||
|
|
|
@ -21,6 +21,11 @@
|
|||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
//
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef FG_MPLAYER_AS
|
||||
|
||||
/******************************************************************
|
||||
* $Id$
|
||||
|
@ -51,7 +56,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>
|
||||
|
@ -353,4 +358,5 @@ void FGMultiplayRxMgr::Update(void) {
|
|||
|
||||
}
|
||||
|
||||
#endif // FG_MPLAYER_AS
|
||||
|
||||
|
|
|
@ -21,6 +21,12 @@
|
|||
// 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue