Fix declaration of get_frame_param for cygw32 build.

* src/frame.c (get_frame_param): Make extern if HAVE_NTGUI.

* src/lisp.h (get_frame_param): Adjust conditions for prototype
declaration.
This commit is contained in:
Ken Brown 2013-12-09 15:46:07 -05:00
parent 6aaca95125
commit 336fe071e5
3 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2013-12-09 Ken Brown <kbrown@cornell.edu>
* frame.c (get_frame_param): Make extern if HAVE_NTGUI.
* lisp.h (get_frame_param): Adjust conditions for prototype
declaration.
2013-12-09 Dmitry Antipov <dmantipov@yandex.ru>
* gtkutil.c (USE_NEW_GTK_FONT_CHOOSER) [HAVE_FREETYPE]:

View file

@ -1929,7 +1929,7 @@ If there is no window system support, this function does nothing. */)
/* Return the value of frame parameter PROP in frame FRAME. */
#ifdef HAVE_WINDOW_SYSTEM
#if !HAVE_NS && !defined (WINDOWSNT)
#if !HAVE_NS && !HAVE_NTGUI
static
#endif
Lisp_Object

View file

@ -4046,7 +4046,7 @@ extern void set_frame_param (struct frame *, Lisp_Object, Lisp_Object);
extern void store_frame_param (struct frame *, Lisp_Object, Lisp_Object);
extern void store_in_alist (Lisp_Object *, Lisp_Object, Lisp_Object);
extern Lisp_Object do_switch_frame (Lisp_Object, int, int, Lisp_Object);
#if HAVE_NS || defined WINDOWSNT
#if HAVE_NS || HAVE_NTGUI
extern Lisp_Object get_frame_param (struct frame *, Lisp_Object);
#endif
extern void frames_discard_buffer (Lisp_Object);