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:
parent
d715e6d8c6
commit
ebdcfa960d
1 changed files with 0 additions and 5 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue