| Chip Salzenberg on 26 Apr 2004 20:54:03 -0000 |
|
If I were in a hurry I'd probably do something like:
#include <limits.h>
#if INT_MAX == 2147483647
/* 32 bit */
#elif INT_MAX > 2147483647
/* >32 bit */
#else
#error what is this, a 286?
#endif
--
Chip Salzenberg - a.k.a. - <chip@pobox.com>
"I wanted to play hopscotch with the impenetrable mystery of existence,
but he stepped in a wormhole and had to go in early." // MST3K
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|