summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-08-19 14:22:02 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-08-19 14:22:23 +0200
commit508e8dd2e2cf54e3c0867b0a8340e477da3afee5 (patch)
tree65037650f720a40247c354b0dee7551e589e029b /sd
parent4b2c05d4f71ae9c6586b423fea802208da265765 (diff)
Fix mingw64 build of remote control
Change-Id: Ic236a52311a5bd868daa50851a2a88c92c377f51
Diffstat (limited to 'sd')
-rwxr-xr-xsd/source/ui/remotecontrol/mDNSResponder/CommonServices.h7
1 files changed, 4 insertions, 3 deletions
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