Don’t worry about __STDC_VERSION__ in emacs-module

* src/emacs-module.h: Remove __STDC_VERSION__ check.  In the past
we’ve found that some compilers do not define this symbol even
when they work well enough.  If necessary features like stdbool.h
are missing the compiler will complain eventually anyway.
This commit is contained in:
Paul Eggert 2017-06-15 10:33:10 -07:00
parent d715e6d8c6
commit ebdcfa960d

View file

@ -20,11 +20,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#ifndef EMACS_MODULE_H
#define EMACS_MODULE_H
#if ! (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) \
&& ! (defined __cplusplus && __cplusplus >= 199711L)
# error "This file requires at least C99 or C++98"
#endif
#include <stdint.h>
#include <stddef.h>