projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61a238e
)
[lldb] Remove some nanosleep preprocessor magic
author
Pavel Labath
<pavel@labath.sk>
Tue, 16 Feb 2021 19:55:40 +0000
(20:55 +0100)
committer
Pavel Labath
<pavel@labath.sk>
Tue, 16 Feb 2021 20:07:57 +0000
(21:07 +0100)
It's obsolete, as we use (portable) std::this_thread::sleep_for now.
lldb/source/Host/posix/PipePosix.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Host/posix/PipePosix.cpp
b/lldb/source/Host/posix/PipePosix.cpp
index
7cd05a1
..
2ccf000
100644
(file)
--- 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>