CloverBootloader/rEFIt_UEFI/Platform/Posix/wchar.h

15 lines
295 B
C
Raw Normal View History

#ifndef __CLOVER_WCHAR_H__
#define __CLOVER_WCHAR_H__
#include "stddef.h" // for size_t
2020-11-02 14:45:11 +01:00
#ifdef _MSC_VER
// Looks like VS cannot compile with long wchar.
#define __WCHAR_MAX__ 0xFFFF
#endif
size_t wcslen(const wchar_t *s);
int wcsncmp(const wchar_t *s1, const wchar_t * s2, size_t n);
#endif