Rollback to previous revision (unforeseen consequences)

git-svn-id: svn://kolibrios.org@9811 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Coldy
2022-05-09 18:19:05 +00:00
parent 75d51a28c0
commit 6753818fc0
22 changed files with 266 additions and 268 deletions
@@ -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)