From 442147504feaf30b90aac3404b2db13d93dae980 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Tue, 5 Jun 2007 08:30:50 -0400 Subject: [PATCH] COMP: make the new check_type_size work with the HPUX cc compiler: const doesn't exist there Alex --- Modules/CheckTypeSizeC.c.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/CheckTypeSizeC.c.in b/Modules/CheckTypeSizeC.c.in index f9ff2e72f..11a0616cf 100644 --- a/Modules/CheckTypeSizeC.c.in +++ b/Modules/CheckTypeSizeC.c.in @@ -18,6 +18,10 @@ #include +#ifdef __CLASSIC_C__ +# define const +#endif + #define SIZE (sizeof(@CHECK_TYPE_SIZE_TYPE@)) const char info_sizeof[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','o','f','[', ('0' + ((SIZE / 10000)%10)),