Mercurial > emacs
comparison nt/config.nt @ 29563:feea24f5cf73
Define POINTER_TYPE, PTR, PROTOTYPES and __P.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Sun, 11 Jun 2000 20:58:22 +0000 |
parents | 54a5f83e7b67 |
children | c28a80aba778 |
comparison
equal
deleted
inserted
replaced
29562:b67a9217ae02 | 29563:feea24f5cf73 |
---|---|
410 | 410 |
411 #ifndef BITS_PER_LONG | 411 #ifndef BITS_PER_LONG |
412 #define BITS_PER_LONG 32 | 412 #define BITS_PER_LONG 32 |
413 #endif | 413 #endif |
414 | 414 |
415 #ifndef POINTER_TYPE | |
416 #define POINTER_TYPE void | |
417 #endif | |
418 | |
419 #ifndef PTR | |
420 #define PTR POINTER_TYPE * | |
421 #endif | |
422 | |
423 #ifndef PROTOTYPES | |
424 #define PROTOTYPES 1 | |
425 #endif | |
426 | |
427 #ifndef __P | |
428 #if defined PROTOTYPES | |
429 #define __P(args) args | |
430 #else | |
431 #define __P(args) () | |
432 #endif | |
433 #endif | |
434 | |
415 /* Don't include <string.h> during configure. */ | 435 /* Don't include <string.h> during configure. */ |
416 #ifndef NOT_C_CODE | 436 #ifndef NOT_C_CODE |
417 #ifdef HAVE_STRING_H | 437 #ifdef HAVE_STRING_H |
418 #include "string.h" | 438 #include "string.h" |
419 #endif | 439 #endif |