summaryrefslogtreecommitdiff
path: root/src/lisp.h
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2018-01-12 08:51:16 -0500
committerKen Brown <kbrown@cornell.edu>2018-01-13 13:16:47 -0500
commit5af5df1f7c20858dab762830e1a94994ceda425b (patch)
tree3252d74339e51877b1cc88c363ba41ee8f83bb9e /src/lisp.h
parent7f52a102ad8234dbfe59a005034c7fc3e4fe538c (diff)
downloademacs-5af5df1f7c20858dab762830e1a94994ceda425b.tar.gz
emacs-5af5df1f7c20858dab762830e1a94994ceda425b.tar.bz2
emacs-5af5df1f7c20858dab762830e1a94994ceda425b.zip
Add battery support to all Cygwin builds
It already exists in the Cygwin-w32 build. * src/w32fns.c (Fw32_battery_status): Move to... * src/w32cygwinx: New file, to be used for functions common to the MS Windows and Cygwin builds. (syms_of_w32cygwinx): New function. * src/lisp.h: Add prototype of syms_of_w32cygwinx. * src/emacs.c (main) [HAVE_NTGUI or CYGWIN]: Call syms_of_w32cygwinx. * src/Makefile.in (SOME_MACHINE_OBJECTS): * configure.ac (W32_OBJ) [HAVE_W32]: Add w32cygwinx.o. (W32_LIBS) [CYGWIN]: Set equal to "-lkernel32" in non-w32 build. (W32_OBJ) [CYGWIN]: Set equal to "w32cygwinx.o" in non-w32 build. * etc/NEWS: Document the new battery support.
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 3eb6e0d3c1d..616aea07805 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -4482,6 +4482,11 @@ extern void syms_of_gfilenotify (void);
extern void syms_of_w32notify (void);
#endif
+#if defined HAVE_NTGUI || defined CYGWIN
+/* Defined in w32cygwinx.c. */
+extern void syms_of_w32cygwinx (void);
+#endif
+
/* Defined in xfaces.c. */
extern Lisp_Object Vface_alternative_font_family_alist;
extern Lisp_Object Vface_alternative_font_registry_alist;