diff options
| author | Tomoyuki Sahara <[email protected]> | 2016-01-30 22:39:20 +0900 |
|---|---|---|
| committer | Tomoyuki Sahara <[email protected]> | 2016-01-30 22:39:20 +0900 |
| commit | 18f7b45ad133087cacc99ba2b967ca05f010a779 (patch) | |
| tree | 410e93bdaf7fa5add397a24da496071cca5e9f0a | |
| parent | c165e501932f8a3bf542d7643fc56713d3aedb7e (diff) | |
| parent | be2ec608e2bdba4aa918806d558e171ff0e3c7c4 (diff) | |
| download | mruby-18f7b45ad133087cacc99ba2b967ca05f010a779.tar.gz mruby-18f7b45ad133087cacc99ba2b967ca05f010a779.zip | |
Merge pull request #29 from rmalizia44/patch-1
Add _WIN32_WINNT definition to Avoid Windows Compilation Errors
| -rw-r--r-- | src/socket.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket.c b/src/socket.c index 142562de2..e28d7cd5d 100644 --- a/src/socket.c +++ b/src/socket.c @@ -5,6 +5,8 @@ */ #ifdef _WIN32 + #define _WIN32_WINNT 0x0501 + #include <winsock2.h> #include <ws2tcpip.h> #include <windows.h> |
