mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-19 07:00:08 +00:00
[_XOPEN_SOURCE]: Define size_t.
This commit is contained in:
parent
1b3434a1e2
commit
8c4069fb87
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1991, 92, 95, 96, 97, 98 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991, 92, 95, 96, 97, 98, 2000 Free Software Foundation, Inc.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Library General Public License as
|
||||
@ -49,6 +49,9 @@ extern "C" {
|
||||
#ifndef __size_t
|
||||
# if defined __GNUC__ && __GNUC__ >= 2
|
||||
typedef __SIZE_TYPE__ __size_t;
|
||||
# ifdef _XOPEN_SOURCE
|
||||
typedef __SIZE_TYPE__ size_t;
|
||||
# endif
|
||||
# else
|
||||
/* This is a guess. */
|
||||
typedef unsigned long int __size_t;
|
||||
|
Loading…
Reference in New Issue
Block a user