MINGW seems now to define ssize_t.
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
$Id: types.h,v 1.9 2003/11/18 03:35:19 rocky Exp $
|
$Id: types.h,v 1.10 2004/03/13 03:32:49 rocky Exp $
|
||||||
|
|
||||||
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
||||||
Copyright (C) 2002,2003 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2002, 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -59,10 +59,6 @@ extern "C" {
|
|||||||
# undef INT64_C
|
# undef INT64_C
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined (MINGW32)
|
|
||||||
typedef int ssize_t;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* if it's still not defined, take a good guess... should work for
|
/* if it's still not defined, take a good guess... should work for
|
||||||
most 32bit and 64bit archs */
|
most 32bit and 64bit archs */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user