MSVC adjustment

This commit is contained in:
Yang Tse
2008-08-31 12:12:35 +00:00
parent 4f0d286d2c
commit 79ffbf7fe1
5 changed files with 32 additions and 7 deletions

View File

@@ -9,10 +9,23 @@
*/
#include <stdio.h>
#include <stdint.h>
#include <fcntl.h>
#ifdef WIN32
# include <io.h>
#else
# include <stdint.h>
# include <unistd.h>
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#ifdef _MSC_VER
# ifdef _WIN64
typedef __int64 intptr_t;
# else
typedef int intptr_t;
# endif
#endif
#include <curl/curl.h>