Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Rings:0-Bootstrap
libustr
libustr-1.0.4-c99-inline.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libustr-1.0.4-c99-inline.patch of Package libustr
--- ustr-compiler.h +++ ustr-compiler.h @@ -113,17 +113,23 @@ #endif #ifndef USTR_CONF_EI_PROTO /* external inline */ -# if USTR_CONF_INCLUDE_CODEONLY_HEADERS +# if USTR_CONF_INCLUDE_CODEONLY_HEADERS || ! defined(__GNUC__) || \ + ! USTR_CONF_COMPILE_USE_INLINE # define USTR_CONF_EI_PROTO static USTR__INLINE # else # define USTR_CONF_EI_PROTO extern # endif #endif #ifndef USTR_CONF_II_PROTO /* implementation of inline */ -# if USTR_CONF_INCLUDE_CODEONLY_HEADERS +# if USTR_CONF_INCLUDE_CODEONLY_HEADERS || ! defined(__GNUC__) || \ + ! USTR_CONF_COMPILE_USE_INLINE # define USTR_CONF_II_PROTO static USTR__INLINE # else -# define USTR_CONF_II_PROTO extern inline +# if defined(__GNUC_STDC_INLINE__) || defined(__GNUC_GNU_INLINE__) +# define USTR_CONF_II_PROTO extern inline __attribute__ ((__gnu_inline__)) +# else +# define USTR_CONF_II_PROTO extern inline +# endif # endif #endif
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