1
0
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:
Eli Zaretskii 2014-04-21 09:37:21 +03:00
parent 4fa20d8f8d
commit e3188b2df1
2 changed files with 8 additions and 0 deletions

View File

@ -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.

View File

@ -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