Back to index

courier  0.68.2
maxlongsize.h
Go to the documentation of this file.
00001 /*
00002 ** Copyright 1998 - 1999 Double Precision, Inc.
00003 ** See COPYING for distribution information.
00004 */
00005 
00006 #ifndef       MAXLONGSIZE
00007 
00008 #include      <limits.h>
00009 
00010 #ifdef ULLONG_MAX
00011 #define       MAXLONGSIZE   MAXLONGSIZE1(ULLONG_MAX)
00012 #else
00013 #define       MAXLONGSIZE   MAXLONGSIZE1(ULONG_MAX)
00014 #endif
00015 
00016 #define       MAXLONGSIZE1(x)      MAXLONGSIZE2(x)
00017 #define       MAXLONGSIZE2(x)      sizeof( # x )
00018 
00019 #endif