m4-commit
[Top][All Lists]
Advanced

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

Changes to m4/modules/gnu.c,v


From: Eric Blake
Subject: Changes to m4/modules/gnu.c,v
Date: Mon, 15 Jan 2007 14:04:28 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      07/01/15 14:04:27

Index: modules/gnu.c
===================================================================
RCS file: /sources/m4/m4/modules/gnu.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -b -r1.70 -r1.71
--- modules/gnu.c       23 Dec 2006 00:02:20 -0000      1.70
+++ modules/gnu.c       15 Jan 2007 14:04:27 -0000      1.71
@@ -1,5 +1,5 @@
 /* GNU m4 -- A simple macro processor
-   Copyright (C) 2000, 2004, 2005, 2006 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -89,10 +89,14 @@
 m4_macro m4_macro_table[] =
 {
   /* name                      text */
-#ifdef _WIN32
+#if UNIX
+  { "__unix__",                "" },
+#elif W32_NATIVE
   { "__windows__",             "" },
+#elif OS2
+  { "__os2__",         "" },
 #else
-  { "__unix__",                        "" },
+# warning Platform macro not provided
 #endif
   { "__gnu__",                 "" },
   { "__m4_version__",          VERSION/**/TIMESTAMP },




reply via email to

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