mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 22:05:58 +00:00
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:
parent
557e06a6f1
commit
e04d2f230d
2 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue