comparison nt/config.h @ 272:c5d627a313b1 r21-0b34

Import from CVS: tag r21-0b34
author cvs
date Mon, 13 Aug 2007 10:28:48 +0200
parents e70b3a057e12
children ca9a9ec9c1c1
comparison
equal deleted inserted replaced
271:c7b7086b0a39 272:c5d627a313b1
419 /* Undocumented debugging option: Don't automatically rebuild the DOC 419 /* Undocumented debugging option: Don't automatically rebuild the DOC
420 file. This saves a lot of time when you're repeatedly 420 file. This saves a lot of time when you're repeatedly
421 compiling-running-crashing. */ 421 compiling-running-crashing. */
422 #undef NO_DOC_FILE 422 #undef NO_DOC_FILE
423 423
424 /* To eliminate use of `const' in the XEmacs sources, 424 #define CONST const
425 do `#define CONST_IS_LOSING' */
426 /* #define CONST_IS_LOSING hell, const works with VC! - kkm */
427
428 # undef CONST
429 # ifdef CONST_IS_LOSING
430 # define CONST
431 # else
432 # define CONST const
433 # endif /* CONST */
434 425
435 /* If not defined, use unions instead of ints. A few systems (DEC Alpha) 426 /* If not defined, use unions instead of ints. A few systems (DEC Alpha)
436 seem to require this, probably because something with the int 427 seem to require this, probably because something with the int
437 definitions isn't right with 64-bit systems. 428 definitions isn't right with 64-bit systems.
438 429
629 #define connect Rconnect 620 #define connect Rconnect
630 #define getsockname Rgetsockname 621 #define getsockname Rgetsockname
631 #define listen Rlisten 622 #define listen Rlisten
632 #endif /* HAVE_SOCKS && !DO_NOT_SOCKSIFY */ 623 #endif /* HAVE_SOCKS && !DO_NOT_SOCKSIFY */
633 624
634 #ifndef SHORTBITS 625 #ifndef BITS_PER_CHAR
635 #define SHORTBITS (8 * SIZEOF_SHORT) 626 #define BITS_PER_CHAR 8
636 #endif 627 #endif
637 #ifndef INTBITS 628 #define SHORTBITS (SIZEOF_SHORT * BITS_PER_CHAR)
638 #define INTBITS (8 * SIZEOF_INT) 629 #define INTBITS (SIZEOF_INT * BITS_PER_CHAR)
639 #endif 630 #define LONGBITS (SIZEOF_LONG * BITS_PER_CHAR)
640 #ifndef LONGBITS 631 #define LONG_LONG_BITS (SIZEOF_LONG_LONG * BITS_PER_CHAR)
641 #define LONGBITS (8 * SIZEOF_LONG) 632 #define VOID_P_BITS (SIZEOF_VOID_P * BITS_PER_CHAR)
642 #endif
643 633
644 /* MSVC version >= 2.x without /Za supports __inline */ 634 /* MSVC version >= 2.x without /Za supports __inline */
645 #if (_MSC_VER < 900) || defined(__STDC__) 635 #if (_MSC_VER < 900) || defined(__STDC__)
646 # define INLINE static 636 # define INLINE static
647 #else 637 #else