Skip to content

Commit

Permalink
inttypes.h needs __STDC_FORMAT_MACROS defined
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 authored and dankamongmen committed Aug 6, 2023
1 parent 442cfea commit e8b4c79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ extern "C" {
#include <wctype.h>
#include <pthread.h>
#include <stdbool.h>
#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS
#endif
#include <inttypes.h>
#include <unictype.h>
#ifndef __MINGW32__
Expand Down

0 comments on commit e8b4c79

Please sign in to comment.