CloverBootloader/rEFIt_UEFI/Platform/Posix/wchar.h
2020-11-02 16:45:11 +03:00

15 lines
295 B
C
Executable File

#ifndef __CLOVER_WCHAR_H__
#define __CLOVER_WCHAR_H__
#include "stddef.h" // for size_t
#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