compat.h revision 1.1
11.1Stakemura/* $NetBSD: compat.h,v 1.1 1999/09/16 12:23:28 takemura Exp $ */ 21.1Stakemura 31.1Stakemura/*- 41.1Stakemura * Copyright (c) 1999 Shin Takemura. 51.1Stakemura * All rights reserved. 61.1Stakemura * 71.1Stakemura * This software is part of the PocketBSD. 81.1Stakemura * 91.1Stakemura * Redistribution and use in source and binary forms, with or without 101.1Stakemura * modification, are permitted provided that the following conditions 111.1Stakemura * are met: 121.1Stakemura * 1. Redistributions of source code must retain the above copyright 131.1Stakemura * notice, this list of conditions and the following disclaimer. 141.1Stakemura * 2. Redistributions in binary form must reproduce the above copyright 151.1Stakemura * notice, this list of conditions and the following disclaimer in the 161.1Stakemura * documentation and/or other materials provided with the distribution. 171.1Stakemura * 3. All advertising materials mentioning features or use of this software 181.1Stakemura * must display the following acknowledgement: 191.1Stakemura * This product includes software developed by the PocketBSD project 201.1Stakemura * and its contributors. 211.1Stakemura * 4. Neither the name of the project nor the names of its contributors 221.1Stakemura * may be used to endorse or promote products derived from this software 231.1Stakemura * without specific prior written permission. 241.1Stakemura * 251.1Stakemura * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 261.1Stakemura * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 271.1Stakemura * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 281.1Stakemura * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 291.1Stakemura * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 301.1Stakemura * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 311.1Stakemura * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 321.1Stakemura * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 331.1Stakemura * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 341.1Stakemura * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 351.1Stakemura * SUCH DAMAGE. 361.1Stakemura * 371.1Stakemura */ 381.1Stakemura#define __lint__ 391.1Stakemura#define __symbolrename(x) 401.1Stakemura#define _LKM 411.1Stakemura#define _STANDALONE 421.1Stakemura#define __STDC__ 431.1Stakemura#define NO_LONG_LONG 441.1Stakemura#define INT64TYPE __int64 451.1Stakemura#define UINT64TYPE unsigned __int64 461.1Stakemura 471.1Stakemura#define bzero(s, n) memset((s), 0, (n)) 48