mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-02 11:21:42 +00:00
Fix redefinition warning in MinGW64 build.
nt/inc/ms-w32.h (lseek): Define only if not already a macro. Suggested by Fabrice Popineau <fabrice.popineau@gmail.com>.
This commit is contained in:
parent
4fa20d8f8d
commit
e3188b2df1
@ -1,3 +1,8 @@
|
||||
2014-04-21 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* inc/ms-w32.h (lseek): Define only if not already a macro.
|
||||
Suggested by Fabrice Popineau <fabrice.popineau@gmail.com>.
|
||||
|
||||
2014-04-09 Ken Brown <kbrown@cornell.edu>
|
||||
|
||||
* emacs.rc: Revert last change.
|
||||
|
@ -276,7 +276,10 @@ typedef int pid_t;
|
||||
#endif
|
||||
#define isatty _isatty
|
||||
#define _longjmp longjmp
|
||||
/* MinGW64 defines lseek to invoke lseek64. */
|
||||
#ifndef lseek
|
||||
#define lseek _lseek
|
||||
#endif
|
||||
#define popen _popen
|
||||
#define pclose _pclose
|
||||
#define strdup _strdup
|
||||
|
Loading…
Reference in New Issue
Block a user