[Lldb-commits] [PATCH] D31969: [CMake] Support generating Config.h

Kamil Rytarowski via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 11 18:23:04 PDT 2017


krytarowski added inline comments.


================
Comment at: cmake/modules/LLDBConfig.cmake:433
+set(LLDB_CONFIG_TERMIOS_SUPPORTED ${HAVE_TERMIOS_H})
+set(LLDB_CONFIG_FCNTL_GETPATH_SUPPORTED ${HAVE_FCNTL_H})
+if(NOT UNIX)
----------------
Can we just use `#ifdef F_GETPATH` in the source code? No need to define another symbol wrapping `F_GETPATH`.


https://reviews.llvm.org/D31969





More information about the lldb-commits mailing list