[vlc-commits] [Git][videolan/vlc][master] 2 commits: meson: config.h: add missing HAVE_QSORT_R

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Mar 7 07:29:58 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
8f5dd5c6 by Marvin Scholz at 2025-03-07T07:12:49+00:00
meson: config.h: add missing HAVE_QSORT_R

- - - - -
484cb0cb by Marvin Scholz at 2025-03-07T07:12:49+00:00
meson: remove redundant check

HAVE_BROKEN_QSORT_R implies HAVE_QSORT_R, so checking both is not
necessary.

- - - - -


2 changed files:

- config.h.meson
- src/meson.build


Changes:

=====================================
config.h.meson
=====================================
@@ -299,6 +299,9 @@
 /* Define to 1 if you have the <pthread.h> header file. */
 #mesondefine HAVE_PTHREAD_H
 
+/* Define to 1 if you have the `qsort_r' function. */
+#mesondefine HAVE_QSORT_R
+
 /* Define to 1 if you have the `readv' function. */
 #mesondefine HAVE_READV
 


=====================================
src/meson.build
=====================================
@@ -363,7 +363,7 @@ else
         'posix/timer.c',
     ]
 
-    if cdata.get('HAVE_QSORT_R', 0) == 1 or cdata.get('HAVE_BROKEN_QSORT_R', 0) == 1
+    if cdata.get('HAVE_QSORT_R', 0) == 1
         libvlccore_sources += 'posix/sort.c'
     endif
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/d6aaaf832cef083d8742acedd09ab3a16a180867...484cb0cb1395dcf29915598c6323f4b805ac84c0

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/d6aaaf832cef083d8742acedd09ab3a16a180867...484cb0cb1395dcf29915598c6323f4b805ac84c0
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list