[Lldb-commits] [PATCH] D14182: Centos 5 compile fixes for lldb
Kamil Rytarowski via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 29 17:53:17 PDT 2015
krytarowski added a subscriber: krytarowski.
================
Comment at: tools/lldb/source/Host/common/File.cpp:301
@@ -299,1 +300,3 @@
+
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)
if (options & eOpenOptionCloseOnExec)
----------------
labath wrote:
> This needs to evaluate to true on non-linux systems.
> Would `#ifdef O_CLOEXEC` work for you ?
NetBSD:
```
/usr/include/fcntl.h:#define O_CLOEXEC 0x00400000 /* set close on exec */
```
Repository:
rL LLVM
http://reviews.llvm.org/D14182
More information about the lldb-commits
mailing list