eĿlipsis
a language independent preprocessor
Loading...
Searching...
No Matches
ellipsis-predefined-c.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
#bind XPND(X) X
22
#bind UGLF(X) __ ## X ## __
23
#bind __ONE__ 1
24
#include_source <ellipsis-predefined-c-attribute.h> \
25
/* Add support for gcc specific attributes. */
\
26
__suffix__(expand include_source __PRE_FILE(predefined_c_attribute, __COMPN__, __COMPV__) \
27
__prefix__(bind HPRE XPND) \
28
__prefix__(bind HSUF XPND)) \
29
__suffix__(expand include_source __PRE_FILE(predefined_c_attribute, __COMPN__, __COMPV__) \
30
__prefix__(bind HPRE UGLF) \
31
__prefix__(bind HSUF XPND)) \
32
__suffix__(expand include_source __PRE_FILE(predefined_c_attribute, __COMPN__, __COMPV__) \
33
__prefix__(bind HPRE XPND) \
34
__prefix__(bind HSUF UGLF)) \
35
__suffix__(expand include_source __PRE_FILE(predefined_c_attribute, __COMPN__, __COMPV__) \
36
__prefix__(bind HPRE UGLF) \
37
__prefix__(bind HSUF UGLF))
38
// The system directories. The first expands the version number inside
39
// the directory path.
40
#expand include_source <predefined-__COMPN__-__COMPV__-__ARCH__-__OS__-__LIBC__.h>
include
c
ellipsis-predefined-c.h
Generated by
1.9.8
eĿlipsis
20250219
© 2025 Jens Gustedt
eĿlipsis
20250219