Browse Source

meson: temporarily disable clock_gettime detection

Alexandre Janniaux 5 years ago
parent
commit
c6a5ecfb1b
1 changed files with 5 additions and 5 deletions
  1. 5 5
      meson.build

+ 5 - 5
meson.build

@@ -87,11 +87,11 @@ else
   compat_sources += 'compat/strndup.c'
 endif
 
-if cc.has_function('clock_gettime', prefix: '#include <time.h>', args: test_args)
-  conf_data.set('HAVE_CLOCK_GETTIME', 1)
-else
-  compat_sources += 'compat/clock_gettime.c'
-endif
+#if cc.has_function('clock_gettime', prefix: '#include <time.h>', args: test_args)
+#  conf_data.set('HAVE_CLOCK_GETTIME', 1)
+#else
+#  compat_sources += 'compat/clock_gettime.c'
+#endif
 
 if cc.has_function('pipe')
   conf_data.set('HAVE_PIPE', 1)