VirtualBox

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

Last change on this file since 68495 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 "compiler.h"
40
41#ifdef lint
42/* So that lint doesn't complain about constructs it doesn't understand */
43#ifdef volatile
44#undef volatile
45#endif
46#define volatile
47#ifdef const
48#undef const
49#endif
50#define const
51#ifdef signed
52#undef signed
53#endif
54#define signed
55#ifdef _ANSI_DECLS_
56#undef _ANSI_DECLS_
57#endif
58#endif
59
60#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