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
commit402ba22ee4d2ccf1443b5d39131c74e96fd26205 (patch)
tree97c33535cc6d2925168fc7ece6e3c1332860f70b /nt/config.nt
parentca69ca83f17a36dd869f755249d56b07fae5efe3 (diff)
downloademacs-402ba22ee4d2ccf1443b5d39131c74e96fd26205.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