Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
0169-erts-Add-include-guard-to-config.h-in-erts...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0169-erts-Add-include-guard-to-config.h-in-erts.patch of Package erlang
From 7ed9da9c776eb4167b1cb2448a500734a6d4ed6e Mon Sep 17 00:00:00 2001 From: Sverker Eriksson <sverker@erlang.org> Date: Fri, 6 Nov 2020 20:34:34 +0100 Subject: [PATCH] erts: Add #include guard to config.h in erts to avoid redefining of undef'd macros. --- erts/configure.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/erts/configure.in b/erts/configure.in index 878c614071..1d3b4e6d63 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -3501,6 +3501,9 @@ dnl --------------------------------------------------------------------- dnl Autoheader macro for adding code at top and bottom of config.h.in dnl --------------------------------------------------------------------- AH_TOP([ +#ifndef __ERTS_CONFIG_H__ +#define __ERTS_CONFIG_H__ + #define GHBN_R_SOLARIS 2 #define GHBN_R_AIX 3 #define GHBN_R_GLIBC 4 @@ -3535,6 +3538,8 @@ AH_BOTTOM([ #if defined(DEBUG) && !defined(ERTS_ENABLE_LOCK_CHECK) #define ERTS_ENABLE_LOCK_CHECK 1 #endif + +#endif /* __ERTS_CONFIG_H__ */ ]) -- 2.26.2
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