1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-09-03 01:21:16 +03:00

Fixed compilation issues with tdm-gcc

This commit is contained in:
Eric Tsau
2015-05-23 09:53:36 +12:00
parent 217d93f48b
commit 706770ad62
3 changed files with 7 additions and 6 deletions

View File

@@ -45,6 +45,7 @@
#include <sys/stat.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <signal.h>
#include <string.h>
@@ -59,7 +60,7 @@
#ifdef _WIN32
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0501 /* Target Windows XP or higher */
#define _WIN32_WINNT 0x0501 /* for tdm-gcc so we can use getconsolewindow */
#endif
#undef UNICODE
#include <windows.h>