aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/LockFileManager.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2021-09-22 16:50:46 -0400
committerLouis Dionne <ldionne.2@gmail.com>2021-09-23 13:09:32 -0400
commite6126faba060d5341dae6c5cc99a22a80d8c4d23 (patch)
treee71f36912389d74972d92391a3f28939adf9eda9 /llvm/lib/Support/LockFileManager.cpp
parente2050f94b65322f886eade488e4398cb38a480df (diff)
downloadllvm-e6126faba060d5341dae6c5cc99a22a80d8c4d23.zip
llvm-e6126faba060d5341dae6c5cc99a22a80d8c4d23.tar.gz
llvm-e6126faba060d5341dae6c5cc99a22a80d8c4d23.tar.bz2
[libc++] Remove unused macro in __config
That macro was being defined but not used anywhere in libc++, so it must be safe to remove it. As a fly-by fix, also remove mentions of this macro in other places in LLVM, to make sure they were not depending on the value defined in libc++. Differential Revision: https://reviews.llvm.org/D110289
Diffstat (limited to 'llvm/lib/Support/LockFileManager.cpp')
-rw-r--r--llvm/lib/Support/LockFileManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/LockFileManager.cpp b/llvm/lib/Support/LockFileManager.cpp
index a2b56ab..5fd5299 100644
--- a/llvm/lib/Support/LockFileManager.cpp
+++ b/llvm/lib/Support/LockFileManager.cpp
@@ -35,7 +35,7 @@
#include <unistd.h>
#endif
-#if defined(__APPLE__) && defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && (__MAC_OS_X_VERSION_MIN_REQUIRED > 1050)
+#if defined(__APPLE__) && defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ > 1050)
#define USE_OSX_GETHOSTUUID 1
#else
#define USE_OSX_GETHOSTUUID 0