From 17b04f387947ae78844b0887c18a428c7f674f40 Mon Sep 17 00:00:00 2001 From: tg Date: Thu, 28 Jan 2010 15:13:25 +0000 Subject: [PATCH] =?UTF-8?q?No,=20=5F=5Fattribute=5F=5F((used))=20with=20SU?= =?UTF-8?q?NWcc=20on=20MirBSD=20still=20won=E2=80=99t=20work=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sh.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sh.h b/sh.h index bc1b025..4c95582 100644 --- a/sh.h +++ b/sh.h @@ -123,7 +123,9 @@ #define MKSH_A_USED /* nothing */ #endif -#if (defined(MirBSD) && (MirBSD >= 0x09A1)) +#if defined(MirBSD) && (MirBSD >= 0x09A1) && \ + defined(__ELF__) && defined(__GNUC__) && \ + !defined(__llvm__) && !defined(__NWCC__) /* * We got usable __IDSTRING __COPYRIGHT __RCSID __SCCSID macros * which work for all cases; no need to redefine them using the @@ -148,7 +150,7 @@ #endif #ifdef EXTERN -__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.376 2010/01/25 16:12:57 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.377 2010/01/28 15:13:25 tg Exp $"); #endif #define MKSH_VERSION "R39 2010/01/08"