Blame gl/sys_types.in.h

Packit 549fdc
/* Provide a more complete sys/types.h.
Packit 549fdc
Packit 549fdc
   Copyright (C) 2011-2016 Free Software Foundation, Inc.
Packit 549fdc
Packit 549fdc
   This program is free software; you can redistribute it and/or modify
Packit 549fdc
   it under the terms of the GNU Lesser General Public License as published by
Packit 549fdc
   the Free Software Foundation; either version 2.1, or (at your option)
Packit 549fdc
   any later version.
Packit 549fdc
Packit 549fdc
   This program is distributed in the hope that it will be useful,
Packit 549fdc
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 549fdc
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 549fdc
   GNU Lesser General Public License for more details.
Packit 549fdc
Packit 549fdc
   You should have received a copy of the GNU Lesser General Public License
Packit 549fdc
   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
Packit 549fdc
Packit 549fdc
#if __GNUC__ >= 3
Packit 549fdc
@PRAGMA_SYSTEM_HEADER@
Packit 549fdc
#endif
Packit 549fdc
@PRAGMA_COLUMNS@
Packit 549fdc
Packit 549fdc
#ifndef _@GUARD_PREFIX@_SYS_TYPES_H
Packit 549fdc
Packit 549fdc
/* The include_next requires a split double-inclusion guard.  */
Packit 549fdc
# define _GL_INCLUDING_SYS_TYPES_H
Packit 549fdc
#@INCLUDE_NEXT@ @NEXT_SYS_TYPES_H@
Packit 549fdc
# undef _GL_INCLUDING_SYS_TYPES_H
Packit 549fdc
Packit 549fdc
#ifndef _@GUARD_PREFIX@_SYS_TYPES_H
Packit 549fdc
#define _@GUARD_PREFIX@_SYS_TYPES_H
Packit 549fdc
Packit 549fdc
/* Override off_t if Large File Support is requested on native Windows.  */
Packit 549fdc
#if @WINDOWS_64_BIT_OFF_T@
Packit 549fdc
/* Same as int64_t in <stdint.h>.  */
Packit 549fdc
# if defined _MSC_VER
Packit 549fdc
#  define off_t __int64
Packit 549fdc
# else
Packit 549fdc
#  define off_t long long int
Packit 549fdc
# endif
Packit 549fdc
/* Indicator, for gnulib internal purposes.  */
Packit 549fdc
# define _GL_WINDOWS_64_BIT_OFF_T 1
Packit 549fdc
#endif
Packit 549fdc
Packit 549fdc
/* MSVC 9 defines size_t in <stddef.h>, not in <sys/types.h>.  */
Packit 549fdc
/* But avoid namespace pollution on glibc systems.  */
Packit 549fdc
#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) \
Packit 549fdc
    && ! defined __GLIBC__
Packit 549fdc
# include <stddef.h>
Packit 549fdc
#endif
Packit 549fdc
Packit 549fdc
#endif /* _@GUARD_PREFIX@_SYS_TYPES_H */
Packit 549fdc
#endif /* _@GUARD_PREFIX@_SYS_TYPES_H */