From 508e8dd2e2cf54e3c0867b0a8340e477da3afee5 Mon Sep 17 00:00:00 2001 From: Fridrich Štrba <fridrich.strba@bluewin.ch> Date: Mon, 19 Aug 2013 14:22:02 +0200 Subject: Fix mingw64 build of remote control Change-Id: Ic236a52311a5bd868daa50851a2a88c92c377f51 --- sd/source/ui/remotecontrol/mDNSResponder/CommonServices.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sd/source/ui/remotecontrol/mDNSResponder') diff --git a/sd/source/ui/remotecontrol/mDNSResponder/CommonServices.h b/sd/source/ui/remotecontrol/mDNSResponder/CommonServices.h index 314e37900599..2ed2e32dd58b 100755 --- a/sd/source/ui/remotecontrol/mDNSResponder/CommonServices.h +++ b/sd/source/ui/remotecontrol/mDNSResponder/CommonServices.h @@ -474,7 +474,7 @@ typedef int socklen_t; // - Windows #if ( TARGET_LANGUAGE_C_LIKE ) - #if ( !defined(_SSIZE_T) && ( TARGET_OS_WIN32 || !defined( _BSD_SSIZE_T_DEFINED_ ) ) && !TARGET_OS_FREEBSD && !TARGET_OS_LINUX && !TARGET_OS_VXWORKS && !TARGET_OS_MAC) + #if ( !defined(_SSIZE_T) && ( TARGET_OS_WIN32 || !defined( _BSD_SSIZE_T_DEFINED_ ) ) && !TARGET_OS_FREEBSD && !TARGET_OS_LINUX && !TARGET_OS_VXWORKS && !TARGET_OS_MAC && !defined (__MINGW32__)) typedef int ssize_t; #endif #endif @@ -759,7 +759,8 @@ typedef INT32 int32_t; typedef UINT32 uint32_t; typedef __int64 int64_t; typedef unsigned __int64 uint64_t; - + #elif defined (__MINGW32__) + # include <stdint.h> #elif ( TARGET_OS_VXWORKS && ( TORNADO_VERSION < 220 ) ) typedef long long int64_t; typedef unsigned long long uint64_t; @@ -785,7 +786,7 @@ typedef uint16_t uint_fast16_t; typedef uint32_t uint_fast32_t; typedef uint64_t uint_fast64_t; - #if ( !defined( _MSC_VER ) || TARGET_OS_WINDOWS_CE ) + #if ( !defined( _WIN32 ) || TARGET_OS_WINDOWS_CE ) typedef long int intptr_t; typedef unsigned long int uintptr_t; #endif -- cgit