newlib: importing data from DLL

git-svn-id: svn://kolibrios.org@6312 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2016-03-09 22:10:47 +00:00
parent b50e632506
commit b0dc7f9b6b
4 changed files with 28 additions and 6 deletions

View File

@@ -169,5 +169,17 @@
/* #undef _ICONV_FROM_ENCODING_WIN_1257 */
/* #undef _ICONV_FROM_ENCODING_WIN_1258 */
#ifdef STATIC_LIBC
#define BUILD_LIBC
#endif
#ifdef BUILD_LIBC
#define __EXPORT
#define __IMPORT
#else
#define __EXPORT __attribute__ ((dllexport))
#define __IMPORT __attribute__ ((dllimport))
#endif
#endif /* !__NEWLIB_H__ */