meson: remove incorrect and unneeded check for ptrdiff_t

Need to include stddef.h for it, so this would've worked:
if cc.has_type('ptrdiff_t', prefix: '#include <stddef.h>')
This commit is contained in:
Tim-Philipp Müller 2016-09-24 18:22:26 +01:00
parent 557e06a6f1
commit e04d2f230d
2 changed files with 0 additions and 7 deletions

View file

@ -229,9 +229,6 @@
/* Have PTHREAD_PRIO_INHERIT. */
#mesondefine HAVE_PTHREAD_PRIO_INHERIT
/* Define to 1 if the system has the type `ptrdiff_t'. */
#mesondefine HAVE_PTRDIFF_T
/* Define if RDTSC is available */
#mesondefine HAVE_RDTSC

View file

@ -183,10 +183,6 @@ if cc.has_function('clock_gettime', prefix : '#include <time.h>')
cdata.set('HAVE_CLOCK_GETTIME', 1)
endif
if cc.has_type('ptrdiff_t')
cdata.set('HAVE_PTRDIFF_T')
endif
# We only want to use the __declspec(dllexport/import) dance in GST_EXPORT when
# building with MSVC
if cc.get_id() == 'msvc'