mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
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.
23 lines
573 B
C
23 lines
573 B
C
#pragma once
|
|
/** \file j6libc/wchar_t.h
|
|
* Internal definition of wchar_t
|
|
*
|
|
* This file is part of the C standard library for the jsix operating
|
|
* system.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#ifndef __cplusplus
|
|
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)
|