mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-11 08:30:45 -08:00
[WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
This commit is contained in:
parent
2c1459a04a
commit
bc28de715d
1 changed files with 8 additions and 1 deletions
|
|
@ -28,10 +28,17 @@ Boston, MA 02110-1301, USA. */
|
||||||
|
|
||||||
#ifdef WINDOWSNT
|
#ifdef WINDOWSNT
|
||||||
|
|
||||||
|
/* config.h defines these, which disables sockets altogether! */
|
||||||
|
# undef _WINSOCKAPI_
|
||||||
|
# undef _WINSOCK_H
|
||||||
|
|
||||||
# include <malloc.h>
|
# include <malloc.h>
|
||||||
# include <stdlib.h>
|
# include <stdlib.h>
|
||||||
|
|
||||||
|
# ifndef HAVE_SOCKETS
|
||||||
# define HAVE_SOCKETS
|
# define HAVE_SOCKETS
|
||||||
|
# endif
|
||||||
|
|
||||||
# define HAVE_INET_SOCKETS
|
# define HAVE_INET_SOCKETS
|
||||||
# define NO_SOCKETS_IN_FILE_SYSTEM
|
# define NO_SOCKETS_IN_FILE_SYSTEM
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue