projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cccd76a
)
meson: fix indentation
author
Tim-Philipp Müller
<tim@centricular.com>
Fri, 5 May 2017 08:10:56 +0000
(09:10 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Fri, 5 May 2017 08:10:56 +0000
(09:10 +0100)
No tabs please.
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
ab77995
..
bd2112f
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-178,10
+178,10
@@
if cc.has_function('localtime_r', prefix : '#include<time.h>')
endif
if cc.links('''#include <pthread.h>
-
int main() {
-
pthread_setname_np("example")
;
-
}''', name : 'pthread_setname_np(const char*)')
-
cdata.set('HAVE_PTHREAD_SETNAME_NP_WITHOUT_TID', 1)
+ int main() {
+
pthread_setname_np("example"); return 0
;
+ }''', name : 'pthread_setname_np(const char*)')
+ cdata.set('HAVE_PTHREAD_SETNAME_NP_WITHOUT_TID', 1)
endif
# Check for posix timers and the monotonic clock