summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2004-02-08 19:18:15 +0000
committerderaadt <deraadt@openbsd.org>2004-02-08 19:18:15 +0000
commit0242688bceecab701d0708b123cfdd8fb890034b (patch)
tree843d18a2350c8dc929ff0441e79d45cdd5a21dfc
parentminimum CPPFLAGS (diff)
downloadwireguard-openbsd-0242688bceecab701d0708b123cfdd8fb890034b.tar.xz
wireguard-openbsd-0242688bceecab701d0708b123cfdd8fb890034b.zip
forget about 16 bit machines; millert ok
-rw-r--r--bin/ksh/config.h9
-rw-r--r--bin/ksh/sh.h10
2 files changed, 2 insertions, 17 deletions
diff --git a/bin/ksh/config.h b/bin/ksh/config.h
index 57a129bcc6c..8a8ef7227e7 100644
--- a/bin/ksh/config.h
+++ b/bin/ksh/config.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.h,v 1.9 2003/10/22 07:40:38 jmc Exp $ */
+/* $OpenBSD: config.h,v 1.10 2004/02/08 19:18:15 deraadt Exp $ */
/* config.h. NOT generated automatically. */
@@ -236,13 +236,6 @@
/* The number of bytes in a int. */
#define SIZEOF_INT 4
-/* The number of bytes in a long. */
-#if defined(alpha)
-#define SIZEOF_LONG 8
-#else
-#define SIZEOF_LONG 4
-#endif
-
/* Define if you have the _setjmp function. */
/* #undef HAVE__SETJMP */
diff --git a/bin/ksh/sh.h b/bin/ksh/sh.h
index fd595607768..388dae59d12 100644
--- a/bin/ksh/sh.h
+++ b/bin/ksh/sh.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sh.h,v 1.15 2003/10/22 07:40:38 jmc Exp $ */
+/* $OpenBSD: sh.h,v 1.16 2004/02/08 19:18:15 deraadt Exp $ */
/*
* Public Domain Bourne/Korn shell
@@ -246,15 +246,7 @@ extern int dup2 ARGS((int, int));
* by autoconf (assumes an 8 bit byte, but I'm not concerned).
* NOTE: INT32 may end up being more than 32 bits.
*/
-#if SIZEOF_INT >= 4
# define INT32 int
-#else /* SIZEOF_INT */
-# if SIZEOF_LONG >= 4
-# define INT32 long
-# else /* SIZEOF_LONG */
- #error cannot find 32 bit type...
-# endif /* SIZEOF_LONG */
-#endif /* SIZEOF_INT */
/* end of common headers */