diff options
| author | Jason Rumney | 2000-06-11 20:58:22 +0000 |
|---|---|---|
| committer | Jason Rumney | 2000-06-11 20:58:22 +0000 |
| commit | dc5ed26ee92571d49dff56ad1660bdc6fbb0bbd6 (patch) | |
| tree | 9ddbfab3bcde817f1fa4c136022bec366114c984 | |
| parent | d4bd593f076eaa13b185f0fd9cb06c9912f24633 (diff) | |
| download | emacs-dc5ed26ee92571d49dff56ad1660bdc6fbb0bbd6.tar.gz emacs-dc5ed26ee92571d49dff56ad1660bdc6fbb0bbd6.zip | |
Define POINTER_TYPE, PTR, PROTOTYPES and __P.
| -rw-r--r-- | nt/config.nt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nt/config.nt b/nt/config.nt index cbc3b198ebc..1fd38d3f3d4 100644 --- a/nt/config.nt +++ b/nt/config.nt | |||
| @@ -412,6 +412,26 @@ extern char *getenv (); | |||
| 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 |