Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2006-01-26 04:55:39 +0300
committerDanny Smith <dannysmith@users.sourceforge.net>2006-01-26 04:55:39 +0300
commitc40776e5a2e4342d069ec39105f90a33bfc8ea28 (patch)
tree7df9498586c89d183b8ae0234245fa3d197a9de8 /winsup/w32api
parenta62ec6b340224da253ebcc1ca274f0eb386aaf9c (diff)
* include/winnt.h (DECLSPEC_SELECTANY): Define.
Diffstat (limited to 'winsup/w32api')
-rw-r--r--winsup/w32api/ChangeLog4
-rw-r--r--winsup/w32api/include/winnt.h8
2 files changed, 12 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index f4bc871b5..2e56b4aef 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,7 @@
+2006-01-26 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * include/winnt.h (DECLSPEC_SELECTANY): Define.
+
2006-01-26 Filip Navara <xnavara@volny.cz>
* include/winnt.h (DECLSPEC_ALIGN): Define.
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