mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-22191 writesrc.cpp: enable PRI formatting constants on all compilers
This commit is contained in:
parent
05dc2ac924
commit
b00562e989
1 changed files with 9 additions and 0 deletions
|
@ -20,7 +20,16 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
|
||||
// The C99 standard suggested that C++ implementations not define PRId64 etc. constants
|
||||
// unless this macro is defined.
|
||||
// See the Notes at https://en.cppreference.com/w/cpp/types/integer .
|
||||
// Similar to defining __STDC_LIMIT_MACROS in unicode/ptypes.h .
|
||||
#ifndef __STDC_FORMAT_MACROS
|
||||
# define __STDC_FORMAT_MACROS
|
||||
#endif
|
||||
#include <cinttypes>
|
||||
|
||||
#include "unicode/utypes.h"
|
||||
#include "unicode/putil.h"
|
||||
#include "unicode/ucptrie.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue