forked from enlightenment/efl
* 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:
parent
20d5a675db
commit
e49ce78f00
|
@ -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>
|
2010-01-30 Vincent Torri <doursse at users dot sf dot net>
|
||||||
|
|
||||||
* src/lib/evil_fcntl.c:
|
* src/lib/evil_fcntl.c:
|
||||||
|
|
|
@ -152,7 +152,7 @@ typedef unsigned long gid_t;
|
||||||
# define _S_IWUSR _S_IWRITE
|
# define _S_IWUSR _S_IWRITE
|
||||||
# define _S_IRUSR _S_IREAD
|
# 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 close(fd) _close(fd)
|
||||||
//# define read(fd,buffer,count) _read((fd),(buffer),(count))
|
//# define read(fd,buffer,count) _read((fd),(buffer),(count))
|
||||||
//# define write(fd,buffer,count) _write((fd),(buffer),(count))
|
//# define write(fd,buffer,count) _write((fd),(buffer),(count))
|
||||||
|
|
Loading…
Reference in New Issue