diff options
| author | Paul Eggert | 2017-06-13 18:19:30 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-06-13 18:20:07 -0700 |
| commit | 27bb4de72bedaa5fdecae24069ea7db1cfd0b5d4 (patch) | |
| tree | a486e05371d45dbc76376bcefc64aceff6485b8d /src/conf_post.h | |
| parent | 510a67428071ef06375c75506bdc6afa151f4c91 (diff) | |
| download | emacs-27bb4de72bedaa5fdecae24069ea7db1cfd0b5d4.tar.gz emacs-27bb4de72bedaa5fdecae24069ea7db1cfd0b5d4.zip | |
Port cleanup attribute to Oracle Studio 12.5
* INSTALL (--with-modules): List cleanup attribute as prereq.
* src/conf_post.h (__has_attribute_cleanup): Remove; no longer needed.
* src/emacs-module.c (MODULE_SETJMP_1): Don’t attempt to verify
(__has_attribute (cleanup)), as Oracle Studio 12.5 supports
__has_attribute only inside preprocessor expressions. The C
compiler should check the cleanup attribute in the next line anyway.
(module_reset_handlerlist): Remove an unnecessary ‘const’
that causes Oracle Studio 12.5 to refuse to compile.
Diffstat (limited to 'src/conf_post.h')
| -rw-r--r-- | src/conf_post.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/conf_post.h b/src/conf_post.h index 5e1d8457deb..18b096e2cf6 100644 --- a/src/conf_post.h +++ b/src/conf_post.h | |||
| @@ -61,7 +61,6 @@ typedef bool bool_bf; | |||
| 61 | #ifndef __has_attribute | 61 | #ifndef __has_attribute |
| 62 | # define __has_attribute(a) __has_attribute_##a | 62 | # define __has_attribute(a) __has_attribute_##a |
| 63 | # define __has_attribute_alloc_size GNUC_PREREQ (4, 3, 0) | 63 | # define __has_attribute_alloc_size GNUC_PREREQ (4, 3, 0) |
| 64 | # define __has_attribute_cleanup GNUC_PREREQ (3, 4, 0) | ||
| 65 | # define __has_attribute_externally_visible GNUC_PREREQ (4, 1, 0) | 64 | # define __has_attribute_externally_visible GNUC_PREREQ (4, 1, 0) |
| 66 | # define __has_attribute_no_address_safety_analysis false | 65 | # define __has_attribute_no_address_safety_analysis false |
| 67 | # define __has_attribute_no_sanitize_address GNUC_PREREQ (4, 8, 0) | 66 | # define __has_attribute_no_sanitize_address GNUC_PREREQ (4, 8, 0) |