Explorar o código

meson: temporarily disable clock_gettime detection

Alexandre Janniaux %!s(int64=5) %!d(string=hai) anos
pai
achega
c6a5ecfb1b
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  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)