~ubuntu-branches/ubuntu/wily/man-db/wily-proposed

« back to all changes in this revision

Viewing changes to gnulib/lib/sys_types.in.h

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-06-24 11:34:02 UTC
  • mfrom: (1.2.13)
  • Revision ID: package-import@ubuntu.com-20130624113402-6xdn53l2p9qu8yus
Tags: 2.6.4-1
* New upstream release:
  - Document default section list in manual pages (closes: #611007).
  - Quieten most warnings from compiling Gnulib (closes: #668429).
  - The MANLESS environment variable is now treated as if it were a
    default value for the -r option to man: occurrences of the text
    "$MAN_PN" are expanded, and explicitly using the -r option overrides
    the default (closes: #690831).
* Use 'set -e' rather than '#! /bin/sh -e' in maintainer scripts.
* Remove maintainer script support for direct upgrades from pre-etch
  (three releases before current stable).
* Breaks/Replaces manpages-zh (<< 1.5.2-1.1); man-db now ships zh_CN
  translations formerly included there.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Provide a more complete sys/types.h.
2
2
 
3
 
   Copyright (C) 2011-2012 Free Software Foundation, Inc.
 
3
   Copyright (C) 2011-2013 Free Software Foundation, Inc.
4
4
 
5
5
   This program is free software; you can redistribute it and/or modify
6
6
   it under the terms of the GNU General Public License as published by
28
28
#ifndef _@GUARD_PREFIX@_SYS_TYPES_H
29
29
#define _@GUARD_PREFIX@_SYS_TYPES_H
30
30
 
 
31
/* Override off_t if Large File Support is requested on native Windows.  */
 
32
#if @WINDOWS_64_BIT_OFF_T@
 
33
/* Same as int64_t in <stdint.h>.  */
 
34
# if defined _MSC_VER
 
35
#  define off_t __int64
 
36
# else
 
37
#  define off_t long long int
 
38
# endif
 
39
/* Indicator, for gnulib internal purposes.  */
 
40
# define _GL_WINDOWS_64_BIT_OFF_T 1
 
41
#endif
 
42
 
31
43
/* MSVC 9 defines size_t in <stddef.h>, not in <sys/types.h>.  */
32
44
/* But avoid namespace pollution on glibc systems.  */
33
45
#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) \