lib-src/emacsclient.c (min): Undef before redefining it.

This commit is contained in:
Juanma Barranquero 2012-05-02 13:33:49 +02:00
parent 7b97c76414
commit 069a7756f7
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2012-05-02 Juanma Barranquero <lekktu@gmail.com>
* emacsclient.c (min): Undef before redefining it.
2012-05-02 Jim Meyering <jim@meyering.net>
* emacsclient.c (send_to_emacs): Avoid invalid strcpy upon partial

View file

@ -119,6 +119,9 @@ char *(getcwd) (char *, size_t);
# define IF_LINT(Code) /* empty */
#endif
#ifdef min
#undef min
#endif
#define min(x, y) (((x) < (y)) ? (x) : (y))