~ubuntu-branches/ubuntu/karmic/virtualbox-ose/karmic-updates

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/x11include/4.2/exports/include/X11/Xosdefs.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2009-09-14 18:25:07 UTC
  • mfrom: (0.4.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090914182507-c98g07mq16hjmn6d
Tags: 3.0.6-dfsg-1ubuntu1
* Merge from debian unstable (LP: #429697), remaining changes:
  - Enable DKMS support on virtualbox host and guest modules (LP: #267097)
    - Drop virtualbox-ose{-guest,}-modules-* package templates
    - Recommend *-source instead of *-modules packages
    - Replace error messages related to missing/mismatched
      kernel module accordingly
  - Autoload kernel module
    - LOAD_VBOXDRV_MODULE=1 in virtualbox-ose.default
  - Disable update action
    - patches/u01-disable-update-action.dpatch
  - Virtualbox should go in Accessories, not in System tools (LP: #288590)
    - virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add apport hook
    - virtualbox-ose.files/source_virtualbox-ose.py
    - virtualbox-ose.install
  - Add launchpad integration
    - control
    - lpi-bug.xpm
    - patches/u02-lp-integration.dpatch
  - virtualbox, virtualbox-* (names of the upstream proprietary packages)
    conflict with virtualbox-ose (LP: #379878)
* Make debug package depend on normal or guest utils package
* Drop patches/22-pulseaudio-stubs.dpatch (applied upstream)
* Rename Ubuntu specific patches to uXX-*.dpatch
* Fix lintian warnings in maintainer scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * O/S-dependent (mis)feature macro definitions
3
 
 *
4
 
 * $Xorg: Xosdefs.h,v 1.5 2001/02/09 02:03:23 xorgcvs Exp $
5
 
 *
6
 
Copyright 1991, 1998  The Open Group
7
 
 
8
 
Permission to use, copy, modify, distribute, and sell this software and its
9
 
documentation for any purpose is hereby granted without fee, provided that
10
 
the above copyright notice appear in all copies and that both that
11
 
copyright notice and this permission notice appear in supporting
12
 
documentation.
13
 
 
14
 
The above copyright notice and this permission notice shall be included in
15
 
all copies or substantial portions of the Software.
16
 
 
17
 
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
 
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
 
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
20
 
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
21
 
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22
 
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
 
 
24
 
Except as contained in this notice, the name of The Open Group shall not be
25
 
used in advertising or otherwise to promote the sale, use or other dealings
26
 
in this Software without prior written authorization from The Open Group.
27
 
 */
28
 
/* $XFree86: xc/include/Xosdefs.h,v 3.19 2001/12/19 21:37:28 dawes Exp $ */
29
 
 
30
 
#ifndef _XOSDEFS_H_
31
 
#define _XOSDEFS_H_
32
 
 
33
 
/*
34
 
 * X_NOT_STDC_ENV means does not have ANSI C header files.  Lack of this
35
 
 * symbol does NOT mean that the system has stdarg.h.
36
 
 *
37
 
 * X_NOT_POSIX means does not have POSIX header files.  Lack of this
38
 
 * symbol does NOT mean that the POSIX environment is the default.
39
 
 * You may still have to define _POSIX_SOURCE to get it.
40
 
 */
41
 
 
42
 
#ifdef NOSTDHDRS
43
 
#define X_NOT_POSIX
44
 
#define X_NOT_STDC_ENV
45
 
#endif
46
 
 
47
 
#ifdef sony
48
 
#if !defined(SYSTYPE_SYSV) && !defined(_SYSTYPE_SYSV)
49
 
#define X_NOT_POSIX
50
 
#endif
51
 
#endif
52
 
 
53
 
#ifdef UTEK
54
 
#define X_NOT_POSIX
55
 
#define X_NOT_STDC_ENV
56
 
#endif
57
 
 
58
 
#ifdef vax
59
 
#ifndef ultrix                  /* assume vanilla BSD */
60
 
#define X_NOT_POSIX
61
 
#define X_NOT_STDC_ENV
62
 
#endif
63
 
#endif
64
 
 
65
 
#ifdef luna
66
 
#define X_NOT_POSIX
67
 
#define X_NOT_STDC_ENV
68
 
#endif
69
 
 
70
 
#ifdef Mips
71
 
#define X_NOT_POSIX
72
 
#define X_NOT_STDC_ENV
73
 
#endif
74
 
  
75
 
#ifdef USL
76
 
#ifdef SYSV /* (release 3.2) */
77
 
#define X_NOT_POSIX
78
 
#define X_NOT_STDC_ENV
79
 
#endif
80
 
#endif
81
 
 
82
 
#ifdef i386
83
 
#ifdef SYSV
84
 
#if !defined(ISC) && !defined(SCO) && !defined(_SEQUENT_)
85
 
#if !defined(_POSIX_SOURCE) && !defined(_SCO_DS)
86
 
#define X_NOT_POSIX
87
 
#endif
88
 
#define X_NOT_STDC_ENV
89
 
#endif
90
 
#endif
91
 
#endif
92
 
 
93
 
#ifdef MOTOROLA
94
 
#ifdef SYSV
95
 
#define X_NOT_STDC_ENV
96
 
#endif
97
 
#endif
98
 
 
99
 
#ifdef sun
100
 
/* Imake configs define SVR4 on Solaris, but cc & gcc only define __SVR4
101
 
 * This check allows non-Imake configured programs to build correctly.
102
 
 */
103
 
#if defined(__SVR4) && !defined(SVR4)
104
 
#define SVR4
105
 
#endif
106
 
#ifdef SVR4
107
 
/* define this to whatever it needs to be */
108
 
#define X_POSIX_C_SOURCE 199300L
109
 
#endif
110
 
#endif
111
 
 
112
 
#ifdef WIN32
113
 
#ifndef _POSIX_
114
 
#define X_NOT_POSIX
115
 
#endif
116
 
#endif
117
 
 
118
 
#if defined(nec_ews_svr2) || defined(SX) || defined(PC_UX)
119
 
#define X_NOT_POSIX
120
 
#define X_NOT_STDC_ENV
121
 
#endif
122
 
 
123
 
#ifdef __EMX__
124
 
#define USGISH
125
 
#define NULL_NOT_ZERO
126
 
#endif
127
 
 
128
 
#ifdef __DARWIN__
129
 
#define NULL_NOT_ZERO
130
 
#endif
131
 
 
132
 
#ifdef __GNU__
133
 
#ifndef PATH_MAX
134
 
#define PATH_MAX 4096
135
 
#endif
136
 
#ifndef MAXPATHLEN
137
 
#define MAXPATHLEN 4096
138
 
#endif
139
 
#endif
140
 
#endif /* _XOSDEFS_H_ */
141