mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
Change WCHAR_END to use WCHAR_MAX instead of hard-coding a value.
darcs-hash:20051004144745-35ec8-4e638c4bc56f613ac7ecd9d00e859d3d213cde66.gz
This commit is contained in:
parent
afa8d11416
commit
fabb20dd33
1 changed files with 2 additions and 8 deletions
|
@ -8,17 +8,11 @@ Header file for the low level input library
|
|||
|
||||
#include <wchar.h>
|
||||
|
||||
/**
|
||||
Hopefully, the biggest value that a wchar_t can have. UCS4 is a
|
||||
31-bit character set, we use the upper half for special key
|
||||
sequences. On systems where wchar_t is not a 31 (or less) bit character set
|
||||
in a 32 (or more) bit type this will fail horribly.
|
||||
*/
|
||||
#define WCHAR_END 0x80000000
|
||||
#define WCHAR_END (WCHAR_MAX + (unsigned long)1)
|
||||
|
||||
enum
|
||||
{
|
||||
R_NULL = WCHAR_END + 1
|
||||
R_NULL = WCHAR_END + (unsigned long)1
|
||||
}
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in a new issue