SHOW:
|
|
- or go back to the newest paste.
1 | #ifndef GLOBAL_H | |
2 | #define GLOBAL_H | |
3 | ||
4 | #include <platform.h> | |
5 | #include <xs1.h> | |
6 | ||
7 | #ifdef __XC__ | |
8 | # define EXTERNAL extern | |
9 | #else | |
10 | # include <xccompat.h> | |
11 | typedef chanend chan; | |
12 | # define streaming | |
13 | # define in | |
14 | # define out | |
15 | - | # define par |
15 | + | |
16 | # ifndef __cplusplus | |
17 | # define EXTERNAL | |
18 | # else | |
19 | # define EXTERNAL extern "C" | |
20 | # endif // __cplusplus | |
21 | #endif // __XC__ | |
22 | ||
23 | #endif // GLOBAL_H |