mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[libc] Add enough stubs to support new LLVM 16 sysroot
time.h and wctype.h had "#error not yet implemented" in them. Now time.h is correct (though the functions are only declared), and wctype.h exists enough to define its types. Also a dlsym stub was added that just returns 0.
This commit is contained in:
@@ -14,5 +14,9 @@
|
||||
typedef __WCHAR_TYPE__ wchar_t;
|
||||
#endif
|
||||
|
||||
typedef unsigned int wint_t;
|
||||
|
||||
#define WEOF ((wint_t)-1)
|
||||
|
||||
#define WCHAR_MAX __WCHAR_MAX__
|
||||
#define WCHAR_MIN ((-__WCHAR_MAX__) - 1)
|
||||
|
||||
Reference in New Issue
Block a user