]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Formatting cleanup of pthread headers module
authorFred Morcos <fred.morcos@open-xchange.com>
Wed, 30 Aug 2023 12:30:05 +0000 (14:30 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:49 +0000 (13:28 +0100)
meson/pthread-headers/meson.build

index fbc492e7ef317ad4c3b36e63f82eb4df6a4103b5..9b2bdc0f24ba1a649693982d9240f87f84faf2e7 100644 (file)
@@ -1,6 +1,15 @@
 dep_threads = dependency('threads')
-have_pthread_h = cxx.check_header('pthread.h', dependencies: dep_threads, required: true)
-have_pthread_np_h = cxx.check_header('pthread_np.h', dependencies: dep_threads, prefix: '#include <pthread.h>')
+
+have_pthread_h = cxx.check_header(
+  'pthread.h',
+  dependencies: dep_threads,
+  required: true,
+)
+have_pthread_np_h = cxx.check_header(
+  'pthread_np.h',
+  dependencies: dep_threads,
+  prefix: '#include <pthread.h>',
+)
 
 conf.set('HAVE_PTHREAD_NP_H', have_pthread_np_h, description: 'Have <pthread_np.h>')