Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
Fix MinGW build
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Oct 22, 2011
1 parent 45882e0 commit 66f3925
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/win/winapi.h
Expand Up @@ -4211,6 +4211,10 @@ typedef enum _FILE_INFORMATION_CLASS {
# define FILE_DEVICE_FILE_SYSTEM 0x00000009
#endif

#ifndef FILE_DEVICE_NETWORK
# define FILE_DEVICE_NETWORK 0x00000012
#endif

#ifndef METHOD_BUFFERED
# define METHOD_BUFFERED 0
#endif
Expand Down
2 changes: 2 additions & 0 deletions src/win/winsock.h
Expand Up @@ -27,6 +27,8 @@
#include <ws2tcpip.h>
#include <windows.h>

#include "winapi.h"


/*
* MinGW is missing these too
Expand Down

0 comments on commit 66f3925

Please sign in to comment.