From 64d0e15627e72e4d96297096dd5c63598827ed10 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 20 Jun 2012 13:28:24 -0400 Subject: [PATCH] KWIML: Teach INT.h that no HP platform implements SCN*8 formats The "hh" class of scan formats is not implemented by the HP runtime. --- INT.h.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/INT.h.in b/INT.h.in index c760b9e5c..ee4c4bb82 100644 --- a/INT.h.in +++ b/INT.h.in @@ -260,8 +260,6 @@ An includer may test the following macros after inclusion: # endif #elif defined(__SUNPRO_C) || defined(__SUNPRO_CC) # define @KWIML@_INT__NO_SCN8 -#elif defined(__HP_cc) || defined(__HP_aCC) -# define @KWIML@_INT__NO_SCN8 #elif defined(__BORLANDC__) # define @KWIML@_INT__NO_SCN8 # define @KWIML@_INT__NO_SCN64 @@ -269,6 +267,8 @@ An includer may test the following macros after inclusion: # define @KWIML@_INT__NO_SCN8 #elif defined(__WATCOMC__) # define @KWIML@_INT__NO_SCN8 +# elif defined(__hpux) /* HP runtime lacks support (any compiler) */ +# define @KWIML@_INT__NO_SCN8 #endif /* 8-bit d, i */