eĿlipsis
a language independent preprocessor
 
Loading...
Searching...
No Matches
predefined-gnuc.h
Go to the documentation of this file.
1// eĿlipsis specific implementations of macros
2#include_source <ellipsis-predefined.h>
3// determine the compiler that we are emulating
4#ifndef __ARCH__
5#environment __ARCH__ x86_64
6#endif
7#ifndef __OS__
8#environment __OS__ linux
9#endif
10#ifndef __LIBC__
11#environment __LIBC__ gnu
12#endif
13#ifndef __COMPN__
14#environment __COMPN__ gcc
15#endif
16#ifndef __COMPV__
17#environment __COMPV__ 13
18#endif
19//
20#bind __PRE_FILE(P, C, N) <P ## _ ## C ## _ ## N.h>
21#include_source <ellipsis-predefined-c-attribute.h> \
22 /* Add support for gcc specific attributes. */ \
23 __suffix__(expand include_source __PRE_FILE(predefined_c_attribute, __COMPN__, __COMPV__) \
24 __prefix__(bind HPRE __EXPAND__) \
25 __prefix__(bind HSUF __EXPAND__)) \
26 __suffix__(expand include_source __PRE_FILE(predefined_c_attribute, __COMPN__, __COMPV__) \
27 __prefix__(bind HPRE __UGLIFY__) \
28 __prefix__(bind HSUF __EXPAND__)) \
29 __suffix__(expand include_source __PRE_FILE(predefined_c_attribute, __COMPN__, __COMPV__) \
30 __prefix__(bind HPRE __EXPAND__) \
31 __prefix__(bind HSUF __UGLIFY__)) \
32 __suffix__(expand include_source __PRE_FILE(predefined_c_attribute, __COMPN__, __COMPV__) \
33 __prefix__(bind HPRE __UGLIFY__) \
34 __prefix__(bind HSUF __UGLIFY__))
35// The system directories. The first expands the version number inside
36// the directory path.
37#expand include_source <predefined-__COMPN__-__COMPV__-__ARCH__-__OS__-__LIBC__.h>