2002-12-30 19:02:31 +03:00
|
|
|
#ifdef CHECK_TYPE_SIZE_TYPE
|
|
|
|
|
|
|
|
#ifdef HAVE_SYS_TYPES_H
|
|
|
|
# include <sys/types.h>
|
|
|
|
#endif /* HAVE_SYS_TYPES_H */
|
|
|
|
|
|
|
|
#ifdef HAVE_STDINT_H
|
|
|
|
# include <stdint.h>
|
|
|
|
#endif /* HAVE_STDINT_H */
|
|
|
|
|
2004-05-04 00:35:37 +04:00
|
|
|
#ifdef HAVE_STDDEF_H
|
|
|
|
# include <stddef.h>
|
|
|
|
#endif /* HAVE_STDDEF_H */
|
|
|
|
|
2004-04-15 16:22:19 +04:00
|
|
|
#ifdef __CLASSIC_C__
|
|
|
|
int main(){
|
|
|
|
int ac;
|
|
|
|
char*av[];
|
|
|
|
#else
|
|
|
|
int main(int ac, char*av[]){
|
|
|
|
#endif
|
|
|
|
if(ac > 1000){return *av[0];}
|
2002-12-30 19:02:31 +03:00
|
|
|
return sizeof(CHECK_TYPE_SIZE_TYPE);
|
|
|
|
}
|
|
|
|
|
|
|
|
#else /* CHECK_TYPE_SIZE_TYPE */
|
|
|
|
|
|
|
|
# error "CHECK_TYPE_SIZE_TYPE has to specify the type"
|
|
|
|
|
|
|
|
#endif /* CHECK_TYPE_SIZE_TYPE */
|