forked from KolibriOS/kolibrios
Rollback to previous revision (unforeseen consequences)
git-svn-id: svn://kolibrios.org@9811 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -13,17 +13,9 @@ typedef __SIZE_TYPE__ uintptr_t;
|
||||
#endif
|
||||
|
||||
#ifdef _BUILD_LIBC
|
||||
|
||||
/* FIXME: Now _FUNC is used in conio only.
|
||||
This should be removed after revrite somme apps who use conio
|
||||
(because these app use pointer dereferencing for conio)
|
||||
*/
|
||||
#define _FUNC(func) func
|
||||
|
||||
#define DLLAPI //__attribute__((dllexport)) // Comming soon(tcc not support yet)
|
||||
#else
|
||||
#define _FUNC(func) (*func) // FIXME: this needed for legacy reason (see above)
|
||||
#define DLLAPI __attribute__((dllimport))
|
||||
#define _FUNC(func) (*func)
|
||||
#endif
|
||||
|
||||
#define offsetof(type, field) ((size_t) & ((type*)0)->field)
|
||||
|
||||
Reference in New Issue
Block a user