1 2 3 4 5 6 7 8 9 10 11 12 13
int main( void ) { unsigned long totalsize = 80; unsigned long msize = 64; if (sizeof(long) != 4) exit(0); if ( totalsize > (2147483647L * 2UL + 1) || (msize != 0 && ((msize - 1) > (2147483647L * 2UL + 1) ))) abort(); exit( 0 ); }