VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/OScompiler.h@ 69348

Last change on this file since 69348 was 51223, checked in by vboxsync, 11 years ago

Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.

  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
1/* $XFree86: xc/programs/Xserver/hw/xfree86/xf4bpp/OScompiler.h,v 1.3 1999/01/31 12:22:15 dawes Exp $ */
2/*
3 * Copyright IBM Corporation 1987,1988,1989
4 *
5 * All Rights Reserved
6 *
7 * Permission to use, copy, modify, and distribute this software and its
8 * documentation for any purpose and without fee is hereby granted,
9 * provided that the above copyright notice appear in all copies and that
10 * both that copyright notice and this permission notice appear in
11 * supporting documentation, and that the name of IBM not be
12 * used in advertising or publicity pertaining to distribution of the
13 * software without specific, written prior permission.
14 *
15 * IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
16 * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
17 * IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
18 * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
19 * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
20 * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
21 * SOFTWARE.
22 *
23*/
24/* $XConsortium: OScompiler.h /main/4 1996/02/21 17:56:09 kaleb $ */
25
26#ifdef HAVE_XORG_CONFIG_H
27#include <xorg-config.h>
28#endif
29
30#ifndef __COMPILER_DEPENDANCIES__
31#define __COMPILER_DEPENDANCIES__
32
33#define MOVE( src, dst, length ) memcpy( dst, src, length)
34#define MAX(a,b) (((a)>(b))?(a):(b))
35#define MIN(a,b) (((a)<(b))?(a):(b))
36#define ABS(x) (((x)>0)?(x):-(x))
37
38#include "misc.h"
39#include "xf86_ansic.h"
40#include "compiler.h"
41
42#ifdef lint
43/* So that lint doesn't complain about constructs it doesn't understand */
44#ifdef volatile
45#undef volatile
46#endif
47#define volatile
48#ifdef const
49#undef const
50#endif
51#define const
52#ifdef signed
53#undef signed
54#endif
55#define signed
56#ifdef _ANSI_DECLS_
57#undef _ANSI_DECLS_
58#endif
59#endif
60
61#endif /* !__COMPILER_DEPENDANCIES__ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette