Rev 9811 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9811 | Rev 9812 | ||
---|---|---|---|
Line 11... | Line 11... | ||
11 | #ifndef NULL |
11 | #ifndef NULL |
12 | #define NULL ((void*)0) |
12 | #define NULL ((void*)0) |
13 | #endif |
13 | #endif |
Line 14... | Line 14... | ||
14 | 14 | ||
- | 15 | #ifdef _BUILD_LIBC |
|
- | 16 | ||
- | 17 | /* FIXME: Now _FUNC is used in conio only. |
|
- | 18 | This should be removed after revrite somme apps who use conio |
|
- | 19 | (because these app use pointer dereferencing for conio) |
|
15 | #ifdef _BUILD_LIBC |
20 | */ |
- | 21 | #define _FUNC(func) (func) |
|
- | 22 | ||
16 | #define _FUNC(func) func |
23 | #define DLLAPI //__attribute__((dllexport)) // Comming soon(tcc not support yet) |
- | 24 | #else |
|
17 | #else |
25 | #define _FUNC(func) (*func) // FIXME: this needed for legacy reason (see above) |
18 | #define _FUNC(func) (*func) |
26 | #define DLLAPI __attribute__((dllimport)) |
Line 19... | Line 27... | ||
19 | #endif |
27 | #endif |
Line 20... | Line 28... | ||
20 | 28 |