Port cleanup attribute to Oracle Studio 12.5
commit27bb4de72bedaa5fdecae24069ea7db1cfd0b5d4
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 14 Jun 2017 01:19:30 +0000 (13 18:19 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 14 Jun 2017 01:20:07 +0000 (13 18:20 -0700)
treea486e05371d45dbc76376bcefc64aceff6485b8d
parent510a67428071ef06375c75506bdc6afa151f4c91
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.
INSTALL
src/conf_post.h
src/emacs-module.c