X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/a9faac5c6333bcbfb30a00debf3de7a44e430e49..929aeac608c271b2448dffec29aeea85c69d6bff:/src/nsgui.h diff --git a/src/nsgui.h b/src/nsgui.h index 3ad9b2ce23..53d0c8b7c8 100644 --- a/src/nsgui.h +++ b/src/nsgui.h @@ -1,5 +1,5 @@ /* Definitions and headers for communication on the NeXT/Open/GNUstep API. - Copyright (C) 1995, 2005, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright (C) 1995, 2005, 2008-2013 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -27,14 +27,14 @@ along with GNU Emacs. If not, see . */ #warning "Z is defined. If you get a later parse error in a header, check that buffer.h or other files #define-ing Z are not included." #endif /* Z */ #define Cursor FooFoo -#undef init_process #endif /* NS_IMPL_COCOA */ +#undef verify + #import #ifdef NS_IMPL_COCOA #undef Cursor -#define init_process emacs_init_process #endif /* NS_IMPL_COCOA */ #import @@ -44,6 +44,9 @@ along with GNU Emacs. If not, see . */ #endif /* __OBJC__ */ +#undef verify +#undef _GL_VERIFY_H +#include /* menu-related */ #define free_widget_value(wv) xfree (wv) @@ -60,7 +63,7 @@ typedef struct _XCharStruct int descent; } XCharStruct; -/* Fake tructure from Xlib.h to represent two-byte characters. */ +/* Fake structure from Xlib.h to represent two-byte characters. */ #ifndef __OBJC__ typedef unsigned short unichar; #endif @@ -129,7 +132,7 @@ typedef struct { } XRectangle; #ifndef __OBJC__ -#if defined(__LP64__) && __LP64__ +#if defined (__LP64__) && __LP64__ typedef double CGFloat; #else typedef float CGFloat; @@ -197,4 +200,3 @@ typedef struct _NSRect { NSPoint origin; NSSize size; } NSRect; #define PWinGravity (1L << 9) /* program specified window gravity */ #endif /* __NSGUI_H__ */ -