summaryrefslogtreecommitdiffstats
path: root/lib/printf.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-01-05 13:47:56 +0000
committerBruno Haible <bruno@clisp.org>2001-01-05 13:47:56 +0000
commit7b401e094dc64e9054af2f09ec2741c8c835929b (patch)
tree5ad0bc1b986626cfd7c03ba2e0ab785b601a0c0b /lib/printf.h
parenteaf396d26252324da43cfc02edef4163af4c8f5a (diff)
downloadexternal_gettext-7b401e094dc64e9054af2f09ec2741c8c835929b.zip
external_gettext-7b401e094dc64e9054af2f09ec2741c8c835929b.tar.gz
external_gettext-7b401e094dc64e9054af2f09ec2741c8c835929b.tar.bz2
New autoconf macros for detecting long integer types.
Diffstat (limited to 'lib/printf.h')
-rw-r--r--lib/printf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/printf.h b/lib/printf.h
index 22b9623..9398cb1 100644
--- a/lib/printf.h
+++ b/lib/printf.h
@@ -40,7 +40,9 @@ struct printf_info
char spec; /* Format letter. */
unsigned is_long_double:1; /* L flag. */
unsigned is_short:1; /* h flag. */
+ unsigned is_char:1; /* hh flag. */
unsigned is_long:1; /* l flag. */
+ unsigned is_longlong:1; /* ll flag. */
unsigned alt:1; /* # flag. */
unsigned space:1; /* Space flag. */
unsigned left:1; /* - flag. */
@@ -103,6 +105,7 @@ enum
#define PA_FLAG_LONG (1 << 9)
#define PA_FLAG_SHORT (1 << 10)
#define PA_FLAG_PTR (1 << 11)
+#define PA_FLAG_CHAR (1 << 12)
#endif /* printf.h */