2008-03-16 20:21:37 +03:00
|
|
|
/*
|
2010-11-04 00:46:47 +03:00
|
|
|
* Copyright 2008-2010 Haiku Inc. All Rights Reserved.
|
2008-03-16 20:21:37 +03:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
2002-10-23 22:47:12 +04:00
|
|
|
#ifndef _SIZE_T_H_
|
|
|
|
#define _SIZE_T_H_
|
|
|
|
|
2010-07-08 10:52:16 +04:00
|
|
|
|
2008-03-16 20:21:37 +03:00
|
|
|
#include <stddef.h>
|
|
|
|
|
2010-07-08 10:52:16 +04:00
|
|
|
|
2010-07-03 20:39:29 +04:00
|
|
|
/* ATM we don't define ssize_t for GCC2 */
|
2010-07-08 10:52:16 +04:00
|
|
|
#if __GNUC__ > 2 && !defined(__ssize_t__)
|
|
|
|
# define __ssize_t__
|
2010-07-03 20:39:29 +04:00
|
|
|
typedef long signed int ssize_t;
|
2010-07-08 10:52:16 +04:00
|
|
|
#endif
|
|
|
|
|
2002-10-23 22:47:12 +04:00
|
|
|
|
2010-07-08 10:52:16 +04:00
|
|
|
#endif /* _SIZE_T_H_ */
|