The branch, master has been updated
       via  c2d17c4db88c4ca11d264d15efde66233733ed51 (commit)
      from  70a6ad6c743e8f36921755cacff2726825021b8a (commit)


- Log -----------------------------------------------------------------
commit c2d17c4db88c4ca11d264d15efde66233733ed51
Author:     Levi Zim <rsworkt...@outlook.com>
AuthorDate: Tue Aug 19 11:16:45 2025 +0800
Commit:     Derek Buitenhuis <derek.buitenh...@gmail.com>
CommitDate: Tue Aug 26 15:08:52 2025 +0000

    avutil/riscv: avoid redefinition of _GNU_SOURCE
    
    Add #ifndef to avoid potential redefinition of _GNU_SOURCE macro.
    
    Signed-off-by: Levi Zim <rsworkt...@outlook.com>

diff --git a/libavutil/riscv/cpu.c b/libavutil/riscv/cpu.c
index 5d7673ad11..379703651a 100644
--- a/libavutil/riscv/cpu.c
+++ b/libavutil/riscv/cpu.c
@@ -18,7 +18,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#define _GNU_SOURCE
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+#endif
 #include "libavutil/cpu.h"
 #include "libavutil/cpu_internal.h"
 #include "libavutil/macros.h"

-----------------------------------------------------------------------

Summary of changes:
 libavutil/riscv/cpu.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 

_______________________________________________
ffmpeg-cvslog mailing list -- ffmpeg-cvslog@ffmpeg.org
To unsubscribe send an email to ffmpeg-cvslog-le...@ffmpeg.org

Reply via email to