* src/lib/Evil.h:

change again the redefinition of open(). Needed
	for the gif loader. But the compilation with vc++
	is certainly broken. Will be fixed later with a specific
	case for vc++.



SVN revision: 45725
This commit is contained in:
Vincent Torri 2010-01-30 00:28:11 +00:00
parent 20d5a675db
commit e49ce78f00
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2010-01-30 Vincent Torri <doursse at users dot sf dot net>
* src/lib/Evil.h:
change again the redefinition of open(). Needed
for the gif loader. But the compilation with vc++
is certainly broken. Will be fixed later with a specific
case for vc++.
2010-01-30 Vincent Torri <doursse at users dot sf dot net>
* src/lib/evil_fcntl.c:

View File

@ -152,7 +152,7 @@ typedef unsigned long gid_t;
# define _S_IWUSR _S_IWRITE
# define _S_IRUSR _S_IREAD
# define open(path, flag, ...) _open((path), _O_BINARY | (flag), __VA_ARGS__)
# define open(path, flag, ...) _open((path), _O_BINARY | (flag), ##__VA_ARGS__)
//# define close(fd) _close(fd)
//# define read(fd,buffer,count) _read((fd),(buffer),(count))
//# define write(fd,buffer,count) _write((fd),(buffer),(count))