diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-04-04 19:57:23 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-04-04 19:57:23 -0400 |
commit | c7af2710007865861e789b29e803f0f55deba93f (patch) | |
tree | 6cbf4186d689a0bafc85b2f9d4d63b581bb2f266 /arch | |
parent | 201995f382cc698ae19289623cc06a70048ffe7b (diff) | |
download | musl-c7af2710007865861e789b29e803f0f55deba93f.tar.gz musl-c7af2710007865861e789b29e803f0f55deba93f.tar.bz2 musl-c7af2710007865861e789b29e803f0f55deba93f.tar.xz musl-c7af2710007865861e789b29e803f0f55deba93f.zip |
eliminate bits/wchar.h
the preprocessor can reliably determine the signedness of wchar_t.
L'\0' is used for 0 in the expressions so that, if the underlying type
of wchar_t is long rather than int, the promoted type of the
expression will match the type of wchar_t.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/bits/wchar.h | 4 | ||||
-rw-r--r-- | arch/i386/bits/wchar.h | 4 | ||||
-rw-r--r-- | arch/microblaze/bits/wchar.h | 4 | ||||
-rw-r--r-- | arch/mips/bits/wchar.h | 4 | ||||
-rw-r--r-- | arch/powerpc/bits/wchar.h | 4 | ||||
-rw-r--r-- | arch/x86_64/bits/wchar.h | 4 |
6 files changed, 0 insertions, 24 deletions
diff --git a/arch/arm/bits/wchar.h b/arch/arm/bits/wchar.h deleted file mode 100644 index ffb26917..00000000 --- a/arch/arm/bits/wchar.h +++ /dev/null @@ -1,4 +0,0 @@ -#ifndef WCHAR_MIN -#define WCHAR_MIN 0U -#define WCHAR_MAX 0xffffffffU -#endif diff --git a/arch/i386/bits/wchar.h b/arch/i386/bits/wchar.h deleted file mode 100644 index c969c5b6..00000000 --- a/arch/i386/bits/wchar.h +++ /dev/null @@ -1,4 +0,0 @@ -#ifndef WCHAR_MIN -#define WCHAR_MIN (-1-0x7fffffff) -#define WCHAR_MAX (0x7fffffff) -#endif diff --git a/arch/microblaze/bits/wchar.h b/arch/microblaze/bits/wchar.h deleted file mode 100644 index c969c5b6..00000000 --- a/arch/microblaze/bits/wchar.h +++ /dev/null @@ -1,4 +0,0 @@ -#ifndef WCHAR_MIN -#define WCHAR_MIN (-1-0x7fffffff) -#define WCHAR_MAX (0x7fffffff) -#endif diff --git a/arch/mips/bits/wchar.h b/arch/mips/bits/wchar.h deleted file mode 100644 index ffb26917..00000000 --- a/arch/mips/bits/wchar.h +++ /dev/null @@ -1,4 +0,0 @@ -#ifndef WCHAR_MIN -#define WCHAR_MIN 0U -#define WCHAR_MAX 0xffffffffU -#endif diff --git a/arch/powerpc/bits/wchar.h b/arch/powerpc/bits/wchar.h deleted file mode 100644 index c969c5b6..00000000 --- a/arch/powerpc/bits/wchar.h +++ /dev/null @@ -1,4 +0,0 @@ -#ifndef WCHAR_MIN -#define WCHAR_MIN (-1-0x7fffffff) -#define WCHAR_MAX (0x7fffffff) -#endif diff --git a/arch/x86_64/bits/wchar.h b/arch/x86_64/bits/wchar.h deleted file mode 100644 index c969c5b6..00000000 --- a/arch/x86_64/bits/wchar.h +++ /dev/null @@ -1,4 +0,0 @@ -#ifndef WCHAR_MIN -#define WCHAR_MIN (-1-0x7fffffff) -#define WCHAR_MAX (0x7fffffff) -#endif |