summaryrefslogtreecommitdiff
path: root/nt/config.nt
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2000-06-11 20:58:22 +0000
committerJason Rumney <jasonr@gnu.org>2000-06-11 20:58:22 +0000
commitdc5ed26ee92571d49dff56ad1660bdc6fbb0bbd6 (patch)
tree9ddbfab3bcde817f1fa4c136022bec366114c984 /nt/config.nt
parentd4bd593f076eaa13b185f0fd9cb06c9912f24633 (diff)
downloademacs-dc5ed26ee92571d49dff56ad1660bdc6fbb0bbd6.tar.gz
Define POINTER_TYPE, PTR, PROTOTYPES and __P.
Diffstat (limited to 'nt/config.nt')
-rw-r--r--nt/config.nt20
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 ();
#define BITS_PER_LONG 32
#endif
+#ifndef POINTER_TYPE
+#define POINTER_TYPE void
+#endif
+
+#ifndef PTR
+#define PTR POINTER_TYPE *
+#endif
+
+#ifndef PROTOTYPES
+#define PROTOTYPES 1
+#endif
+
+#ifndef __P
+#if defined PROTOTYPES
+#define __P(args) args
+#else
+#define __P(args) ()
+#endif
+#endif
+
/* Don't include <string.h> during configure. */
#ifndef NOT_C_CODE
#ifdef HAVE_STRING_H