mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Make unichar type declaration more portable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25696 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7e6b567274
commit
9e9f9ec27f
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-12-07 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Headers/Additions/GNUstepBase/GSConfig.h.in:
|
||||
* Headers/Foundation/NSString.h:
|
||||
declare unichar as uint16_t
|
||||
|
||||
2007-12-07 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSRunLoop.m: Keep timers unordered and check all of them
|
||||
|
|
|
@ -198,7 +198,7 @@ typedef gsuaddr gsaddr;
|
|||
* Native character type for use in systemcalls etc.
|
||||
*/
|
||||
#if defined(__MINGW32__)
|
||||
#define GSNativeChar unichar
|
||||
#define GSNativeChar uint16_t
|
||||
#else
|
||||
#define GSNativeChar char
|
||||
#endif
|
||||
|
|
|
@ -36,7 +36,7 @@ extern "C" {
|
|||
/**
|
||||
* Type for representing unicode characters. (16-bit)
|
||||
*/
|
||||
typedef unsigned short unichar;
|
||||
typedef uint16_t unichar;
|
||||
|
||||
@class NSArray;
|
||||
@class NSCharacterSet;
|
||||
|
|
Loading…
Reference in a new issue