Skip to content

Conversation

shr-project
Copy link
Contributor

before using ac_cv_sizeof_bool

It was called after this conditional, so PG_USE_STDBOOL wasn't set even when it should be as shown in at the end of config.log:

ac_cv_header_stdbool_h=yes
ac_cv_sizeof_bool=1
ac_cv_type__Bool=yes
#define SIZEOF_BOOL 1
#define HAVE__BOOL 1
#define HAVE_STDBOOL_H 1

before using ac_cv_sizeof_bool

It was called after this conditional, so PG_USE_STDBOOL wasn't set
even when it should be as shown in at the end of config.log:

  ac_cv_header_stdbool_h=yes
  ac_cv_sizeof_bool=1
  ac_cv_type__Bool=yes
  #define SIZEOF_BOOL 1
  #define HAVE__BOOL 1
  #define HAVE_STDBOOL_H 1

* fixes:
  postgresql-interfaces#110
  postgresql-interfaces#94

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
@davecramer davecramer merged commit c8cb6cf into postgresql-interfaces:main Apr 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build error on Fedora 42
2 participants