* src/fileio.c (emacs_fd_to_int): Don't define on WINDOWSNT.
* src/image.c (image_create_bitmap_from_data): Don't abort if
!defined HAVE_ANDROID.
#define emacs_fd_lseek lseek
#define emacs_fd_fstat sys_fstat
#define emacs_fd_valid_p(fd) ((fd) >= 0)
+
+/* This is not used on MS Windows. */
+
+#ifndef WINDOWSNT
#define emacs_fd_to_int(fds) (fds)
+#endif /* WINDOWSNT */
#else /* HAVE_ANDROID && !defined ANDROID_STUBIFY */
if (!bitmap)
return -1;
-#else
+#elif defined HAVE_ANDROID
((void) dpyinfo);
emacs_abort ();
-#endif
+#endif /* HAVE_ANDROID && !defined ANDROID_STUBIFY */
#ifdef HAVE_NTGUI
Lisp_Object frame UNINIT; /* The value is not used. */