Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/compat Define __CONCAT if the host doesn't.



details:   https://anonhg.NetBSD.org/src/rev/1a8cd4db7d17
branches:  trunk
changeset: 525989:1a8cd4db7d17
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Mon Apr 22 23:39:38 2002 +0000

description:
Define __CONCAT if the host doesn't.

diffstat:

 tools/compat/compat_defs.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 45a95e2c8421 -r 1a8cd4db7d17 tools/compat/compat_defs.h
--- a/tools/compat/compat_defs.h        Mon Apr 22 23:31:44 2002 +0000
+++ b/tools/compat/compat_defs.h        Mon Apr 22 23:39:38 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_defs.h,v 1.11 2002/04/22 15:09:19 lukem Exp $   */
+/*     $NetBSD: compat_defs.h,v 1.12 2002/04/22 23:39:38 bjh21 Exp $   */
 
 #ifndef        __NETBSD_COMPAT_DEFS_H__
 #define        __NETBSD_COMPAT_DEFS_H__
@@ -69,6 +69,9 @@
 
 /* Some things usually in BSD <sys/cdefs.h>. */
 
+#ifndef __CONCAT
+#define        __CONCAT(x,y)   x ## y
+#endif
 #if !defined(__attribute__) && !defined(__GNUC__)
 #define __attribute__(x)
 #endif



Home | Main Index | Thread Index | Old Index