Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
openmpi3
Always-include-the-stddef.h-header.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Always-include-the-stddef.h-header.patch of Package openmpi3
commit 14fde40ec7066c788b27fac7d6de64e8ada43520 Author: George Bosilca <bosilca@icl.utk.edu> Date: Fri Mar 12 13:38:10 2021 -0500 Always include the stddef.h header. Signed-off-by: George Bosilca <bosilca@icl.utk.edu> diff --git configure.ac configure.ac index f553cff725af..fa1adf12bd2c 100644 --- configure.ac +++ configure.ac @@ -1290,10 +1290,13 @@ OPAL_SETUP_WRAPPER_FINAL # autoconf macro defines in mpi.h. Since AC sometimes changes whether # things are defined as null tokens or an integer result, two projects # with different versions of AC can cause problems. -if test $ac_cv_header_stdc = yes; then - AC_DEFINE(OPAL_STDC_HEADERS, 1, - [Do not use outside of mpi.h. Define to 1 if you have the ANSI C header files.]) -fi + +# According to the autoconf 2.67 documentation the AC_HEADER_STDC macro, +# and therefore the ac_cv_header_stdc cache variable, is obsolescent, as +# current systems have conforming header files. Instead of removing the +# protection completely, let's just make sure it is always on. +AC_DEFINE(OPAL_STDC_HEADERS, 1, + [Do not use outside of mpi.h. Define to 1 if you have the ANSI C header files.]) if test $ac_cv_header_sys_time_h = yes ; then AC_DEFINE(OPAL_HAVE_SYS_TIME_H, 1, [Do not use outside of mpi.h. Define to 1 if you have the <sys/time.h> header file.])
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor