meson: fix indentation
authorTim-Philipp Müller <tim@centricular.com>
Fri, 5 May 2017 08:10:56 +0000 (09:10 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 5 May 2017 08:10:56 +0000 (09:10 +0100)
No tabs please.

meson.build

index ab77995..bd2112f 100644 (file)
@@ -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