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