mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 11:23:24 +00:00
Avoid compiler warnings in the Cygwin-w32 build
* src/w32fns.c [DEFAULT_IMAGE_BASE]: Don't define on Cygwin. * src/cygw32.h (w32_get_resource): Add prototype. (Bug#71786)
This commit is contained in:
parent
8d354925dd
commit
fb15affde8
2 changed files with 2 additions and 1 deletions
|
@ -35,5 +35,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
|
|||
|
||||
extern void syms_of_cygw32 (void);
|
||||
extern char * w32_strerror (int error_no);
|
||||
extern LPBYTE w32_get_resource (const char * key, const char * name, LPDWORD type);
|
||||
|
||||
#endif /* CYGW32_H */
|
||||
|
|
|
@ -11284,7 +11284,7 @@ typedef USHORT (WINAPI * CaptureStackBackTrace_proc) (ULONG, ULONG, PVOID *,
|
|||
configure.ac. */
|
||||
#if defined MINGW_W64 && EMACS_INT_MAX > LONG_MAX
|
||||
# define DEFAULT_IMAGE_BASE (ptrdiff_t)0x400000000
|
||||
#else /* 32-bit MinGW build */
|
||||
#elif !defined CYGWIN /* 32-bit MinGW build */
|
||||
# define DEFAULT_IMAGE_BASE (ptrdiff_t)0x01000000
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue