[lldb] Remove some nanosleep preprocessor magic
authorPavel Labath <pavel@labath.sk>
Tue, 16 Feb 2021 19:55:40 +0000 (20:55 +0100)
committerPavel 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

index 7cd05a1..2ccf000 100644 (file)
 #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>