From b799279088353b38117171ea212c73af6ccae648 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Mon, 24 Apr 2017 10:55:47 +0200 Subject: Revert back to ICU 54, because MSP cannot be generated on Windows Change-Id: Ie0c857c9c8fd7091e115245c75d7490d46033426 --- sal/osl/unx/socket.cxx | 2 +- sal/osl/unx/system.hxx | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'sal') diff --git a/sal/osl/unx/socket.cxx b/sal/osl/unx/socket.cxx index 7de16d6e0d1f..6aba809bce4f 100644 --- a/sal/osl/unx/socket.cxx +++ b/sal/osl/unx/socket.cxx @@ -728,7 +728,7 @@ static struct hostent* _osl_gethostbyname_r ( const char *name, struct hostent *result, char *buffer, int buflen, int *h_errnop) { -#if defined(LINUX) || defined(ANDROID) || defined(FREEBSD) || defined(DRAGONFLY) || defined(EMSCRIPTEN) +#if defined(LINUX) || defined(ANDROID) || defined(FREEBSD) || defined(DRAGONFLY) struct hostent *__result; /* will be the same as result */ int __error; __error = gethostbyname_r (name, result, buffer, buflen, diff --git a/sal/osl/unx/system.hxx b/sal/osl/unx/system.hxx index cca52ddf12bc..75c3d9d90d36 100644 --- a/sal/osl/unx/system.hxx +++ b/sal/osl/unx/system.hxx @@ -92,7 +92,7 @@ #endif -#if defined(ANDROID) || defined(EMSCRIPTEN) +#ifdef ANDROID # include # include # include @@ -280,8 +280,7 @@ int macxp_resolveAlias(char *path, int buflen); !defined(AIX) && \ !defined(SOLARIS) && !defined(MACOSX) && \ !defined(OPENBSD) && !defined(DRAGONFLY) && \ - !defined(IOS) && !defined(ANDROID) && \ - !defined(EMSCRIPTEN) + !defined(IOS) && !defined(ANDROID) # error "Target platform not specified!" #endif -- cgit