chiark
/
gitweb
/
~mdw
/
mLib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4debfda
)
utils/compiler.h: Prefer `ifdef' rather than `if defined'.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 4 Sep 2021 18:53:51 +0000
(19:53 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 4 Sep 2021 18:53:59 +0000
(19:53 +0100)
utils/compiler.h
patch
|
blob
|
blame
|
history
diff --git
a/utils/compiler.h
b/utils/compiler.h
index 7e66d12ecc4e69b7e0612a8f3dd62b543903589e..edc6e4d0199af8f96ba805433f40fd98c2cdf035 100644
(file)
--- a/
utils/compiler.h
+++ b/
utils/compiler.h
@@
-34,7
+34,7
@@
/*----- Macros ------------------------------------------------------------*/
-#if
defined(__GNUC__)
+#if
def __GNUC__
# define GCC_VERSION_P(maj, min) \
(__GNUC__ > (maj) || (__GNUC__ == (maj) && __GNUC_MINOR__ >= (min)))
#else