aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2017-06-15 10:33:10 -0700
committerPaul Eggert2017-06-15 10:33:31 -0700
commitebdcfa960d51704de2a9cdeaceb175e502b7aedc (patch)
tree097a5468d76d6919ebbaae46d3123d8a36b88cf3
parentd715e6d8c6a7f3507f4faca0961ac87d58fbfab8 (diff)
downloademacs-ebdcfa960d51704de2a9cdeaceb175e502b7aedc.tar.gz
emacs-ebdcfa960d51704de2a9cdeaceb175e502b7aedc.zip
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.
-rw-r--r--src/emacs-module.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/emacs-module.h b/src/emacs-module.h
index ad102e6d843..f545a27b5fd 100644
--- a/src/emacs-module.h
+++ b/src/emacs-module.h
@@ -20,11 +20,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20#ifndef EMACS_MODULE_H 20#ifndef EMACS_MODULE_H
21#define EMACS_MODULE_H 21#define EMACS_MODULE_H
22 22
23#if ! (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) \
24 && ! (defined __cplusplus && __cplusplus >= 199711L)
25# error "This file requires at least C99 or C++98"
26#endif
27
28#include <stdint.h> 23#include <stdint.h>
29#include <stddef.h> 24#include <stddef.h>
30 25