From c40776e5a2e4342d069ec39105f90a33bfc8ea28 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Thu, 26 Jan 2006 01:55:39 +0000 Subject: * include/winnt.h (DECLSPEC_SELECTANY): Define. --- winsup/w32api/include/winnt.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'winsup/w32api/include') diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h index 05343c057..422d9c8c2 100644 --- a/winsup/w32api/include/winnt.h +++ b/winsup/w32api/include/winnt.h @@ -51,6 +51,14 @@ extern "C" { #endif #endif +#ifndef DECLSPEC_SELECTANY +#if (__GNUC__ >= 4) +#define DECLSPEC_SELECTANY __attribute__((selectany)) +#else +#define DECLSPEC_SELECTANY +#endif +#endif + #ifndef VOID #define VOID void #endif -- cgit v1.2.3