diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2015-09-16 17:03:17 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2015-10-05 10:24:35 +0000 |
commit | 338f19a8cecfa632fa23d42cc27769a832d62104 (patch) | |
tree | 32a9f5f89828a35e4c59c9fddab7da44bea8eeb6 /sal/osl/unx/system.hxx | |
parent | e62c2b03c79cf00c7bb7f08e986f73c76b784581 (diff) |
Emscripten: First steps of porting to Emscripten
See https://wiki.documentfoundation.org/Development/Emscripten for details
Change-Id: I977a8b9e98b9be13c263fef48f567b92347d0492
Reviewed-on: https://gerrit.libreoffice.org/18643
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sal/osl/unx/system.hxx')
-rw-r--r-- | sal/osl/unx/system.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sal/osl/unx/system.hxx b/sal/osl/unx/system.hxx index 3d6ab4d3a055..3f19358dedd8 100644 --- a/sal/osl/unx/system.hxx +++ b/sal/osl/unx/system.hxx @@ -85,7 +85,7 @@ #endif -#ifdef ANDROID +#if defined(ANDROID) || defined(EMSCRIPTEN) # include <pthread.h> # include <sys/file.h> # include <sys/ioctl.h> @@ -243,7 +243,8 @@ int macxp_resolveAlias(char *path, int buflen); !defined(AIX) && \ !defined(SOLARIS) && !defined(MACOSX) && \ !defined(OPENBSD) && !defined(DRAGONFLY) && \ - !defined(IOS) && !defined(ANDROID) + !defined(IOS) && !defined(ANDROID) && \ + !defined(EMSCRIPTEN) # error "Target platform not specified!" #endif |