[Top][All Lists]

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

more platform macros [was: GNU M4 1.4.5 test failures]

From: Eric Blake
Subject: more platform macros [was: GNU M4 1.4.5 test failures]
Date: Fri, 21 Jul 2006 07:21:43 -0600
User-agent: Thunderbird (Windows/20060516)

Hash: SHA1

According to Eric Blake on 7/18/2006 6:08 AM:
>>>     --
>>>     Failed checks were:
>>>       ./082.patsubst:out ./092.platform_ma:out
> Which platform was this?  We were unable to determine a platform macro to
> use (such as __unix__, __windows__, or __os2__).  Is there a good
> preprocessor constant we can key off of to define a platform macro for
> this system?

Based on some private feedback from Nelson (who understandably wanted
specific details about his machines kept from the internet so that they
are less likely to be targeted for an attack), I am checking in this:

2006-07-21  Eric Blake  <address@hidden>

        * src/m4.h [UNIX]: Add more platforms that are close enough to
        categorize as UNIX, but which don't predefine __unix__.
        Reported by Nelson H. F. Beebe.

- --
Life is short - so eat dessert first!

Eric Blake             address@hidden
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Index: src/m4.h
RCS file: /sources/m4/m4/src/m4.h,v
retrieving revision
diff -u -p -r1. m4.h
--- src/m4.h    19 Jul 2006 14:55:53 -0000
+++ src/m4.h    21 Jul 2006 13:21:01 -0000
@@ -27,7 +27,9 @@
 /* Canonicalize UNIX recognition macros.  */
 #if defined unix || defined __unix || defined __unix__ \
-  || defined _POSIX_VERSION || defined _POSIX2_VERSION
+  || defined _POSIX_VERSION || defined _POSIX2_VERSION \
+  || defined __NetBSD__ || defined __OpenBSD__ \
+  || defined __APPLE__ || defined __APPLE_CC__
 # define UNIX 1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]