45e9809aff7304721fddb95654901b32195c9c7avboxsync/*
45e9809aff7304721fddb95654901b32195c9c7avboxsync * Copyright IBM Corporation 1987,1988,1989
45e9809aff7304721fddb95654901b32195c9c7avboxsync *
45e9809aff7304721fddb95654901b32195c9c7avboxsync * All Rights Reserved
45e9809aff7304721fddb95654901b32195c9c7avboxsync *
45e9809aff7304721fddb95654901b32195c9c7avboxsync * Permission to use, copy, modify, and distribute this software and its
45e9809aff7304721fddb95654901b32195c9c7avboxsync * documentation for any purpose and without fee is hereby granted,
45e9809aff7304721fddb95654901b32195c9c7avboxsync * provided that the above copyright notice appear in all copies and that
45e9809aff7304721fddb95654901b32195c9c7avboxsync * both that copyright notice and this permission notice appear in
45e9809aff7304721fddb95654901b32195c9c7avboxsync * supporting documentation, and that the name of IBM not be
45e9809aff7304721fddb95654901b32195c9c7avboxsync * used in advertising or publicity pertaining to distribution of the
45e9809aff7304721fddb95654901b32195c9c7avboxsync * software without specific, written prior permission.
45e9809aff7304721fddb95654901b32195c9c7avboxsync *
45e9809aff7304721fddb95654901b32195c9c7avboxsync * IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
45e9809aff7304721fddb95654901b32195c9c7avboxsync * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
45e9809aff7304721fddb95654901b32195c9c7avboxsync * IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
45e9809aff7304721fddb95654901b32195c9c7avboxsync * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
45e9809aff7304721fddb95654901b32195c9c7avboxsync * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
45e9809aff7304721fddb95654901b32195c9c7avboxsync * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
45e9809aff7304721fddb95654901b32195c9c7avboxsync * SOFTWARE.
45e9809aff7304721fddb95654901b32195c9c7avboxsync *
45e9809aff7304721fddb95654901b32195c9c7avboxsync*/
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifdef HAVE_XORG_CONFIG_H
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include <xorg-config.h>
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifndef __COMPILER_DEPENDANCIES__
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define __COMPILER_DEPENDANCIES__
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define MOVE( src, dst, length ) memcpy( dst, src, length)
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define MAX(a,b) (((a)>(b))?(a):(b))
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define MIN(a,b) (((a)<(b))?(a):(b))
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define ABS(x) (((x)>0)?(x):-(x))
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include "misc.h"
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include "compiler.h"
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifdef lint
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* So that lint doesn't complain about constructs it doesn't understand */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifdef volatile
45e9809aff7304721fddb95654901b32195c9c7avboxsync#undef volatile
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define volatile
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifdef const
45e9809aff7304721fddb95654901b32195c9c7avboxsync#undef const
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define const
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifdef signed
45e9809aff7304721fddb95654901b32195c9c7avboxsync#undef signed
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define signed
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifdef _ANSI_DECLS_
45e9809aff7304721fddb95654901b32195c9c7avboxsync#undef _ANSI_DECLS_
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif /* !__COMPILER_DEPENDANCIES__ */