[Lldb-commits] [lldb] r196742 - Fix Debian GNU/kFreeBSD build

Ed Maste emaste at freebsd.org
Sun Dec 8 17:35:42 PST 2013


Author: emaste
Date: Sun Dec  8 19:35:42 2013
New Revision: 196742

URL: http://llvm.org/viewvc/llvm-project?rev=196742&view=rev
Log:
Fix Debian GNU/kFreeBSD build

Use the same LaunchProcessPosixSpawn as on FreeBSD and Linux.

Modified:
    lldb/trunk/source/Host/common/Host.cpp

Modified: lldb/trunk/source/Host/common/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Host.cpp?rev=196742&r1=196741&r2=196742&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Host.cpp (original)
+++ lldb/trunk/source/Host/common/Host.cpp Sun Dec  8 19:35:42 2013
@@ -1608,7 +1608,7 @@ Host::RunShellCommand (const char *comma
     return error;
 }
 
-#if defined(__linux__) || defined(__FreeBSD__)
+#if defined(__linux__) || defined(__FreeBSD__) || defined(__GLIBC__)
 // The functions below implement process launching via posix_spawn() for Linux
 // and FreeBSD.
 





More information about the lldb-commits mailing list