diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | custom.h | 1 | ||||
-rw-r--r-- | regex_internal.h | 1 | ||||
-rw-r--r-- | vms/ChangeLog | 5 | ||||
-rw-r--r-- | vms/vms-conf.h | 2 |
5 files changed, 12 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2013-12-07 Arnold D. Robbins <arnold@skeeve.com> + + * regex_internal.h (__attribute__): Define to empty if not GCC. + * custom.h (__attribute__): Remove the definition from here; the + right place was regex_internal.h. + 2013-12-06 Arnold D. Robbins <arnold@skeeve.com> No need to generate version.c from version.in. @@ -75,5 +75,4 @@ #define unsetenv zos_unsetenv extern int setenv(const char *name, const char *value, int rewrite); extern int unsetenv(const char *name); -#define __attribute__(x) #endif diff --git a/regex_internal.h b/regex_internal.h index 45a69655..448e32ea 100644 --- a/regex_internal.h +++ b/regex_internal.h @@ -155,6 +155,7 @@ is_blank (int c) # define __attribute(arg) __attribute__ (arg) #else # define __attribute(arg) +# define __attribute__(arg) /* GAWK: They left this out. Duh. */ #endif #ifdef GAWK diff --git a/vms/ChangeLog b/vms/ChangeLog index 18d70b5c..f8344654 100644 --- a/vms/ChangeLog +++ b/vms/ChangeLog @@ -1,3 +1,8 @@ +2013-12-06 Arnold D. Robbins <arnold@skeeve.com> + + * vms-conf.h (__attribute__): Removed definition from here; fixed + the issue in the main sources. + 2013-12-01 Arnold D. Robbins <arnold@skeeve.com> * vms-conf.h (ALLOW_SWITCH): Removed. No longer used. diff --git a/vms/vms-conf.h b/vms/vms-conf.h index 60464f06..575b5de6 100644 --- a/vms/vms-conf.h +++ b/vms/vms-conf.h @@ -673,8 +673,6 @@ #include "vms/redirect.h" #undef IN_CONFIG_H -#define __attribute__(x) - #endif /*"custom.h"*/ #endif /*CONFIG_H*/ |