From: Bruno Haible Date: Tue, 27 Aug 2024 22:34:53 +0000 (+0200) Subject: mcel: Fix compilation error with MSVC. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=40c97669aad1b105079a7802c5c3034a458db848;p=gnulib.git mcel: Fix compilation error with MSVC. * modules/builtin-expect (Description): Improve. * m4/builtin-expect.m4: Improve comment. * modules/mcel (Depends-on): Add builtin-expect. --- diff --git a/ChangeLog b/ChangeLog index 83dc20f558..d7124060b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2024-08-27 Bruno Haible + + mcel: Fix compilation error with MSVC. + * modules/builtin-expect (Description): Improve. + * m4/builtin-expect.m4: Improve comment. + * modules/mcel (Depends-on): Add builtin-expect. + 2024-08-27 Paul Eggert savewd: port to native MS-Windows diff --git a/m4/builtin-expect.m4 b/m4/builtin-expect.m4 index c7af926b34..33f255e9f5 100644 --- a/m4/builtin-expect.m4 +++ b/m4/builtin-expect.m4 @@ -1,11 +1,11 @@ # builtin-expect.m4 -# serial 1 +# serial 2 dnl Copyright 2016-2024 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. -dnl Check for __builtin_expect. +dnl Provide a GCC-compatible __builtin_expect macro in . dnl Written by Paul Eggert. diff --git a/modules/builtin-expect b/modules/builtin-expect index c11d5d96c9..489a16894d 100644 --- a/modules/builtin-expect +++ b/modules/builtin-expect @@ -1,5 +1,5 @@ Description: -Check for __builtin_expect. +Provide a GCC-compatible __builtin_expect macro. Files: m4/builtin-expect.m4 diff --git a/modules/mcel b/modules/mcel index 59ca633641..4bdde8f95a 100644 --- a/modules/mcel +++ b/modules/mcel @@ -7,6 +7,7 @@ lib/mcel.h Depends-on: assert-h +builtin-expect extern-inline limits-h mbrtoc32