]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change; not directly applicable to open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:00 +0000 (11:23 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:00 +0000 (11:23 -0700)
open-vm-tools/lib/misc/vthreadBase.c

index 610e05331cbe5876355319c944177f7769622479..03b26a72f6c8ea09433a537abcbe20db1eb52517 100644 (file)
  *      we use the safer Tls* functions.
  */
 
-#if defined __linux__
+#if defined __APPLE__
+#include <assert.h>
+#include <TargetConditionals.h>
+#else
+#define TARGET_OS_IPHONE 0
+#endif
+
+#if defined __linux__ && !defined __ANDROID__ && !TARGET_OS_IPHONE
 #  define HAVE_TLS
 #endif