diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-05-30 17:26:11 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-05-30 17:26:11 -0700 |
commit | 0bd5398534f34cf8fca7ce4c6d44b27bb4010be3 (patch) | |
tree | bb56357933f410ca0450b567004f095d0aab13b3 /sysdeps/x86 | |
parent | 3a257e668e41fa6bab6b758adbe508b8fe32e2d2 (diff) | |
download | glibc-0bd5398534f34cf8fca7ce4c6d44b27bb4010be3.tar glibc-0bd5398534f34cf8fca7ce4c6d44b27bb4010be3.tar.gz glibc-0bd5398534f34cf8fca7ce4c6d44b27bb4010be3.tar.bz2 glibc-0bd5398534f34cf8fca7ce4c6d44b27bb4010be3.zip |
Use x86_64/bits/xtitypes.h for i386/x86-64
Diffstat (limited to 'sysdeps/x86')
-rw-r--r-- | sysdeps/x86/bits/xtitypes.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sysdeps/x86/bits/xtitypes.h b/sysdeps/x86/bits/xtitypes.h new file mode 100644 index 0000000000..853c090808 --- /dev/null +++ b/sysdeps/x86/bits/xtitypes.h @@ -0,0 +1,33 @@ +/* bits/xtitypes.h -- Define some types used by <bits/stropts.h>. x86-64. + Copyright (C) 2002 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + <http://www.gnu.org/licenses/>. */ + +#ifndef _STROPTS_H +# error "Never include <bits/xtitypes.h> directly; use <stropts.h> instead." +#endif + +#ifndef _BITS_XTITYPES_H +#define _BITS_XTITYPES_H 1 + +#include <bits/types.h> + +/* This type is used by some structs in <bits/stropts.h>. */ +typedef __SLONG32_TYPE __t_scalar_t; +typedef __ULONG32_TYPE __t_uscalar_t; + + +#endif /* bits/xtitypes.h */ |