Mercurial > hg > xemacs-beta
comparison nt/config.h @ 233:52952cbfc5b5 r20-5b15
Import from CVS: tag r20-5b15
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:14:14 +0200 |
parents | 6c0ae1f9357f |
children | 41f2f0e326e9 |
comparison
equal
deleted
inserted
replaced
232:aa6545ea0638 | 233:52952cbfc5b5 |
---|---|
638 #endif | 638 #endif |
639 #ifndef LONGBITS | 639 #ifndef LONGBITS |
640 #define LONGBITS (8 * SIZEOF_LONG) | 640 #define LONGBITS (8 * SIZEOF_LONG) |
641 #endif | 641 #endif |
642 | 642 |
643 #ifdef HAVE_INLINE | 643 /* MSVC version >= 2.x without /Za supports __inline */ |
644 # if defined (__GNUC__) | 644 #if (_MSC_VER < 900) || defined(__STDC__) |
645 # if defined (DONT_EXTERN_INLINE_FUNCTIONS) | 645 # define INLINE static |
646 # define INLINE inline | |
647 # else | |
648 # define INLINE extern inline | |
649 # endif | |
650 # else | |
651 # define INLINE static inline | |
652 # endif | |
653 #else | 646 #else |
654 # define INLINE static | 647 # define INLINE __inline |
655 #endif | 648 #endif |
649 | |
650 /* MSVC warnings no-no crap. When adding one to this section, | |
651 1. Think twice | |
652 2. Insert textual description of the warning. | |
653 3. Think twice. Undo still works */ | |
654 #if (_MSC_VER >= 800) | |
655 | |
656 /* 'expression' : signed/unsigned mismatch */ | |
657 #pragma warning ( disable : 4018 ) | |
658 | |
659 #endif /* compiler understands #pragma warning*/ | |
656 | 660 |
657 /* We want to avoid saving the signal mask if possible, because | 661 /* We want to avoid saving the signal mask if possible, because |
658 that necessitates a system call. */ | 662 that necessitates a system call. */ |
659 #ifdef HAVE_SIGSETJMP | 663 #ifdef HAVE_SIGSETJMP |
660 # define SETJMP(x) sigsetjmp (x, 0) | 664 # define SETJMP(x) sigsetjmp (x, 0) |