Skip to content

Add missing inttypes.h and define __STDC_FORMAT_MACROS if undefined#5108

Merged
HofiOne merged 3 commits intosyslog-ng:masterfrom
HofiOne:inttypes-compat
Sep 17, 2024
Merged

Add missing inttypes.h and define __STDC_FORMAT_MACROS if undefined#5108
HofiOne merged 3 commits intosyslog-ng:masterfrom
HofiOne:inttypes-compat

Conversation

@HofiOne
Copy link
Collaborator

@HofiOne HofiOne commented Sep 17, 2024

Some platforms need inttypes.h and __STDC_FORMAT_MACROS defined prior to including it in order for macros like PRIu64 to work. Fix that.

Signed-off-by: Sergey Fedorov [email protected]
Signed-off-by: Hofi [email protected]

@kovgeri01
Copy link
Contributor

there are more files:

  • lib/compat/string.h
  • lib/compat/getutent.h

@HofiOne HofiOne merged commit b05758e into syslog-ng:master Sep 17, 2024
@HofiOne HofiOne deleted the inttypes-compat branch September 17, 2024 11:00
HofiOne added a commit to HofiOne/syslog-ng that referenced this pull request Sep 18, 2024
HofiOne added a commit to HofiOne/syslog-ng that referenced this pull request Sep 18, 2024
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.

3 participants