Displaying 2 results from an estimated 2 matches for "_ssize_t_".
2003 Oct 03
1
latest beta + MinGW 3.1.0-1 = minor fix needed
...k.h:23: conflicting types for `ssize_t'
n:/MinGW/include/sys/types.h:119: previous declaration of `ssize_t'
make[3]: *** [internet.o] Error 1
(This is in src/modules/internet)
Obviously ssize_t was added to the system types in MinGW. The
corresponding files:
MinGW: sys/types.h:
#ifndef _SSIZE_T_
#define _SSIZE_T_
typedef long _ssize_t;
R: src/modules/internet/sock.h
#ifdef Win32
typedef int ssize_t;
#endif
There are two possible fixes for this:
1) make sock.h use long instead of int.
2) use something like:
#if defined Win32 && !defined _SSIZE_T_
I don't think either fix is...
2006 May 22
3
ssize_t not defined in sockconn.c (PR#8889)
...R failed when compiling sockconn.c. The problem seemed to be
that ssize_t was not defined.
The following change in sock.h fixes the problem, though it's probably
not fixed the _right_ way.
/* Following line changed by WTR (Cira) to overcome make problem.
#if defined Win32 && !defined _SSIZE_T_
typedef int ssize_t;
#endif
*/
typedef int ssize_t;
Thanks!
Wade
--please do not edit the information below--
Version:
platform = i686-pc-linux-gnu
arch = i686
os = linux-gnu
system = i686, linux-gnu
status =
major = 2
minor = 3.0
year = 2006
month = 04
day = 24
svn rev = 3...