summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2017-05-05 09:10:56 +0100
committerTim-Philipp Müller <tim@centricular.com>2017-05-05 09:10:56 +0100
commit426164348a4987446286d19cb900c4ace7b9367f (patch)
tree3433a38687ff563b481a49d89e4dbd7987228181
parentcccd76aa99a96fe0cd30e3798ec42f1b89deee51 (diff)
meson: fix indentation
No tabs please.
-rw-r--r--meson.build8
1 files changed, 4 insertions, 4 deletions
diff --git a/meson.build b/meson.build
index ab7799572..bd2112f0a 100644
--- 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