File tree 3 files changed +7
-6
lines changed
3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 28
28
#include " env-inl.h"
29
29
#include " util.h"
30
30
31
- #if defined (__GNUC__) && !defined(__clang__)
31
+ #if (__GNUC__ >= 8 ) && !defined(__clang__)
32
32
#pragma GCC diagnostic push
33
33
#pragma GCC diagnostic ignored "-Wcast-function-type"
34
34
#endif
35
35
#include " v8.h"
36
- #if defined (__GNUC__) && !defined(__clang__)
36
+ #if (__GNUC__ >= 8 ) && !defined(__clang__)
37
37
#pragma GCC diagnostic pop
38
38
#endif
39
39
Original file line number Diff line number Diff line change 60
60
# define SIGKILL 9
61
61
#endif
62
62
63
- #if defined (__GNUC__) && !defined(__clang__)
63
+ #if (__GNUC__ >= 8 ) && !defined(__clang__)
64
64
#pragma GCC diagnostic push
65
65
#pragma GCC diagnostic ignored "-Wcast-function-type"
66
66
#endif
67
67
#include " v8.h" // NOLINT(build/include_order)
68
- #if defined (__GNUC__) && !defined(__clang__)
68
+ #if (__GNUC__ >= 8 ) && !defined(__clang__)
69
69
#pragma GCC diagnostic pop
70
70
#endif
71
+
71
72
#include " v8-platform.h" // NOLINT(build/include_order)
72
73
#include " node_version.h" // NODE_MODULE_VERSION
73
74
Original file line number Diff line number Diff line change 24
24
25
25
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
26
26
27
- #if defined (__GNUC__) && !defined(__clang__)
27
+ #if (__GNUC__ >= 8 ) && !defined(__clang__)
28
28
#pragma GCC diagnostic push
29
29
#pragma GCC diagnostic ignored "-Wcast-function-type"
30
30
#endif
31
31
#include " v8.h"
32
- #if defined (__GNUC__) && !defined(__clang__)
32
+ #if (__GNUC__ >= 8 ) && !defined(__clang__)
33
33
#pragma GCC diagnostic pop
34
34
#endif
35
35
You can’t perform that action at this time.
0 commit comments