[vlc-commits] [Git][videolan/vlc][master] 2 commits: package/apple: don't include vlc_common.h before vlc_plugin.h

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Mon Apr 24 07:54:24 UTC 2023



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
a6fd9c97 by Steve Lhomme at 2023-04-24T09:38:29+02:00
package/apple: don't include vlc_common.h before vlc_plugin.h

Followup to b2af1a26e4da2ae670c2b9d99ca1f6e7400e3950.
This is possible since b437cad5687aa36d6b5fe15a3f61e46e2bfb81ea.

- - - - -
6f5bb554 by Steve Lhomme at 2023-04-24T09:39:33+02:00
package/emscripten: don't include vlc_common.h to generate modules list

This way we don't need the config.h include either.
This is possible since b437cad5687aa36d6b5fe15a3f61e46e2bfb81ea

- - - - -


2 changed files:

- extras/package/apple/build.sh
- extras/package/wasm-emscripten/build.sh


Changes:

=====================================
extras/package/apple/build.sh
=====================================
@@ -423,7 +423,7 @@ gen_vlc_static_module_list()
     done
 
     printf "\
-#include <vlc_common.h>\\n\
+#include <stddef.h>\\n\
 #include <vlc_plugin.h>\\n\
 %b\\n\
 const vlc_plugin_cb vlc_static_modules[] = {\\n


=====================================
extras/package/wasm-emscripten/build.sh
=====================================
@@ -202,8 +202,7 @@ do
 done;
 
 printf "// This file is autogenerated
-#include \"config.h\"
-#include <vlc_common.h>
+#include <stddef.h>
 #include <vlc_plugin.h>
 %b\n
 const vlc_plugin_cb vlc_static_modules[] = {



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/82e5275184fcea06e2fe7f7c173acc3f1799680e...6f5bb554a28abe3731c11e062536d9cbf3459170

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/82e5275184fcea06e2fe7f7c173acc3f1799680e...6f5bb554a28abe3731c11e062536d9cbf3459170
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