Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

include: move ssize_t workaround to uv-win.h

  • Loading branch information...
bnoordhuis committed Jul 30, 2012
1 parent be10324 commit 4eccb2ee525d5d5872ce185b59ba4f48f27af9a4
Showing with 6 additions and 6 deletions.
  1. +6 −0 include/uv-private/uv-win.h
  2. +0 −6 include/uv.h
@@ -23,6 +23,12 @@
# define _WIN32_WINNT 0x0502
#endif

#if !defined(_SSIZE_T_) && !defined(_SSIZE_T_DEFINED)
typedef intptr_t ssize_t;
# define _SSIZE_T_
# define _SSIZE_T_DEFINED
#endif

#include <process.h>
#include <stdint.h>
#include <winsock2.h>
@@ -57,12 +57,6 @@ extern "C" {

#include "ares.h"

#if !defined(_SSIZE_T_) && !defined(_SSIZE_T_DEFINED)
typedef intptr_t ssize_t;
# define _SSIZE_T_
# define _SSIZE_T_DEFINED
#endif

#if defined(__unix__) || defined(__POSIX__) || defined(__APPLE__)
# include "uv-private/uv-unix.h"
#else

0 comments on commit 4eccb2e

Please sign in to comment.
You can’t perform that action at this time.