COMP: make the new check_type_size work with the HPUX cc compiler: const doesn't exist there

Alex
This commit is contained in:
Alexander Neundorf 2007-06-05 08:30:50 -04:00
parent 61ccdc4e92
commit 442147504f
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@
#include <stdio.h>
#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)),