mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
MFT: VC10 build support
This commit is contained in:
parent
0f0f5f229b
commit
1063c8346b
6 changed files with 33 additions and 10 deletions
|
@ -34,10 +34,16 @@
|
|||
#endif
|
||||
|
||||
#ifdef PHP_WIN32
|
||||
#define EWOULDBLOCK WSAEWOULDBLOCK
|
||||
#define EINPROGRESS WSAEWOULDBLOCK
|
||||
# define fsync _commit
|
||||
# define ftruncate(a, b) chsize(a, b)
|
||||
# ifdef EWOULDBLOCK
|
||||
# undef EWOULDBLOCK
|
||||
# endif
|
||||
# ifdef EINPROGRESS
|
||||
# undef EINPROGRESS
|
||||
# endif
|
||||
# define EWOULDBLOCK WSAEWOULDBLOCK
|
||||
# define EINPROGRESS WSAEWOULDBLOCK
|
||||
# define fsync _commit
|
||||
# define ftruncate(a, b) chsize(a, b)
|
||||
#endif /* defined(PHP_WIN32) */
|
||||
|
||||
#ifndef EWOULDBLOCK
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue