aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2021-02-16 20:55:40 +0100
committerPavel Labath <pavel@labath.sk>2021-02-16 21:07:57 +0100
commit1db2888e70709930da6c22ab83706c7695962ace (patch)
treeb2c5f60ef825a86a2374d2a630fa18eb867dbf4b
parent61a238e6e134ca610d5534bb2ff7121f3ce0083b (diff)
downloadllvm-1db2888e70709930da6c22ab83706c7695962ace.zip
llvm-1db2888e70709930da6c22ab83706c7695962ace.tar.gz
llvm-1db2888e70709930da6c22ab83706c7695962ace.tar.bz2
[lldb] Remove some nanosleep preprocessor magic
It's obsolete, as we use (portable) std::this_thread::sleep_for now.
-rw-r--r--lldb/source/Host/posix/PipePosix.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lldb/source/Host/posix/PipePosix.cpp b/lldb/source/Host/posix/PipePosix.cpp
index 7cd05a1..2ccf000 100644
--- a/lldb/source/Host/posix/PipePosix.cpp
+++ b/lldb/source/Host/posix/PipePosix.cpp
@@ -12,13 +12,6 @@
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/Errno.h"
#include "llvm/Support/FileSystem.h"
-
-#if defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 8))
-#ifndef _GLIBCXX_USE_NANOSLEEP
-#define _GLIBCXX_USE_NANOSLEEP
-#endif
-#endif
-
#include <functional>
#include <thread>