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:
51d2191
)
Use getwd(0) on FreeBSD as on OS X.
author
Ed Maste
<emaste@freebsd.org>
Thu, 5 Sep 2013 17:05:37 +0000
(17:05 +0000)
committer
Ed Maste
<emaste@freebsd.org>
Thu, 5 Sep 2013 17:05:37 +0000
(17:05 +0000)
llvm-svn: 190070
lldb/test/api/multithreaded/common.h
patch
|
blob
|
history
diff --git
a/lldb/test/api/multithreaded/common.h
b/lldb/test/api/multithreaded/common.h
index
74c5eb3
..
a943f28
100644
(file)
--- a/
lldb/test/api/multithreaded/common.h
+++ b/
lldb/test/api/multithreaded/common.h
@@
-58,7
+58,7
@@
public:
/// Allocates a char buffer with the current working directory on Linux/Darwin
inline char* get_working_dir() {
-#if
def __APPLE__
+#if
defined(__APPLE__) || defined(__FreeBSD__)
return getwd(0);
#else
return get_current_dir_name();