compiler/mlib/complex.h: fix creal*() macro; list functions in alphabetic order
[AROS.git] / tools / MetaMake / compiler.h
blob17c4e478491f3f50ccffd93ba756bd20c919ece0
1 #ifndef __COMPILER_H
2 #define __COMPILER_H
4 #if defined __GNUC__ && defined __GNUC_MINOR__
5 # define __GNUC_PREREQ(maj, min) \
6 ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
7 #else
8 # define __GNUC_PREREQ(maj, min) 0
9 #endif
11 #if __GNUC_PREREQ(3,3)
12 # define __mayalias __attribute__((__may_alias__))
13 #else
14 # define __mayalias
15 #endif
17 #endif