VirtualBox

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

最後變更 在這個檔案從37801是 25078,由 vboxsync 提交於 15 年 前

Additions/x11/x11include: exported and set eol-style on new headers

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

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