changeset 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 b67a9217ae02
children ae1233eea722
files nt/config.nt
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nt/config.nt	Sun Jun 11 20:53:47 2000 +0000
+++ b/nt/config.nt	Sun Jun 11 20:58:22 2000 +0000
@@ -412,6 +412,26 @@
 #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