Commit d61d443f authored by Alan Third's avatar Alan Third
Browse files

Define new types on macOS 10.6 (bug#27041)

* src/nsterm.h: Enable instancetype typedef for older macOS, and use
correct NSUInteger instead of int.
parent c0f90833
......@@ -62,11 +62,13 @@ typedef CGFloat EmacsCGFloat;
typedef float EmacsCGFloat;
/* FIXME: It looks as though instancetype will be supported in GNUstep
at some point, but I'm not sure what version. */
/* FIXME: instancetype is a language built-in, but older versions of
Clang don't support it, and I don't know if GCC supports it at all.
Should this be tested for in ./configure? */
#if defined (NS_IMPL_GNUSTEP)
typedef id instancetype;
typedef int NSWindowStyleMask;
typedef NSUInteger NSWindowStyleMask;
/* ==========================================================================
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment