vim.h: remove #ifndef EINTR

This ifndef causes problems when including fileio headers.
This commit is contained in:
Thiago de Arruda 2015-03-05 18:07:05 -03:00
parent 071aca9c8a
commit 2b90aed831

View File

@ -321,11 +321,6 @@ enum {
#define fnamencmp(x, y, n) vim_fnamencmp((char_u *)(x), (char_u *)(y), \ #define fnamencmp(x, y, n) vim_fnamencmp((char_u *)(x), (char_u *)(y), \
(size_t)(n)) (size_t)(n))
#ifndef EINTR
# define read_eintr(fd, buf, count) read((fd), (buf), (count))
# define write_eintr(fd, buf, count) write((fd), (buf), (count))
#endif
/* /*
* Enums need a typecast to be used as array index (for Ultrix). * Enums need a typecast to be used as array index (for Ultrix).
*/ */