Skip to content

Commit

Permalink
Prevent features.h from being "fixed" when compiling gcc
Browse files Browse the repository at this point in the history
Newer gcc versions fix that header file, and place a copy in gccs
private include-fixed directory. But we need to support also older compilers,
and that prevents us from updating the file by newer versions of mintlib.

The fix just adds a space, so the pattern in fixincludes just does not match.
  • Loading branch information
th-otto committed Jun 1, 2024
1 parent fe48911 commit 5919d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/features.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@

/* Decide whether we can define 'extern inline' functions in headers. */
#if __GNUC_PREREQ (2, 7) && defined __OPTIMIZE__ \
&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__
&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__
# define __USE_EXTERN_INLINES 1
# if (defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__) || \
defined __cplusplus || \
Expand Down

0 comments on commit 5919d04

Please sign in to comment.