windows tweak.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@188 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
9cdf551541
commit
625669f4f1
|
@ -344,6 +344,7 @@
|
||||||
>
|
>
|
||||||
<FileConfiguration
|
<FileConfiguration
|
||||||
Name="Debug|Win32"
|
Name="Debug|Win32"
|
||||||
|
ExcludedFromBuild="true"
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
@ -351,6 +352,7 @@
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
<FileConfiguration
|
<FileConfiguration
|
||||||
Name="Release|Win32"
|
Name="Release|Win32"
|
||||||
|
ExcludedFromBuild="true"
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
|
|
@ -40,13 +40,14 @@ typedef HANDLE zap_socket_t;
|
||||||
typedef unsigned __int64 uint64_t;
|
typedef unsigned __int64 uint64_t;
|
||||||
typedef unsigned __int32 uint32_t;
|
typedef unsigned __int32 uint32_t;
|
||||||
typedef __int32 int32_t;
|
typedef __int32 int32_t;
|
||||||
|
typedef intptr_t zap_ssize_t;
|
||||||
#else
|
#else
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
typedef int zap_socket_t;
|
typedef int zap_socket_t;
|
||||||
|
typedef ssize_t zap_ssize_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef size_t zap_size_t;
|
typedef size_t zap_size_t;
|
||||||
typedef ssize_t zap_ssize_t;
|
|
||||||
struct zap_io_interface;
|
struct zap_io_interface;
|
||||||
|
|
||||||
#define ZAP_COMMAND_OBJ_INT *((int *)obj)
|
#define ZAP_COMMAND_OBJ_INT *((int *)obj)
|
||||||
|
|
Loading…
Reference in New Issue