compat.h revision 1.3
11.3Srin/* $NetBSD: compat.h,v 1.3 2020/08/10 10:59:33 rin Exp $ */ 21.2Stakemura 31.2Stakemura/*- 41.2Stakemura * Copyright (c) 1999 Shin Takemura. 51.2Stakemura * All rights reserved. 61.2Stakemura * 71.2Stakemura * This software is part of the PocketBSD. 81.2Stakemura * 91.2Stakemura * Redistribution and use in source and binary forms, with or without 101.2Stakemura * modification, are permitted provided that the following conditions 111.2Stakemura * are met: 121.2Stakemura * 1. Redistributions of source code must retain the above copyright 131.2Stakemura * notice, this list of conditions and the following disclaimer. 141.2Stakemura * 2. Redistributions in binary form must reproduce the above copyright 151.2Stakemura * notice, this list of conditions and the following disclaimer in the 161.2Stakemura * documentation and/or other materials provided with the distribution. 171.2Stakemura * 3. All advertising materials mentioning features or use of this software 181.2Stakemura * must display the following acknowledgement: 191.2Stakemura * This product includes software developed by the PocketBSD project 201.2Stakemura * and its contributors. 211.2Stakemura * 4. Neither the name of the project nor the names of its contributors 221.2Stakemura * may be used to endorse or promote products derived from this software 231.2Stakemura * without specific prior written permission. 241.2Stakemura * 251.2Stakemura * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 261.2Stakemura * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 271.2Stakemura * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 281.2Stakemura * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 291.2Stakemura * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 301.2Stakemura * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 311.2Stakemura * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 321.2Stakemura * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 331.2Stakemura * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 341.2Stakemura * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 351.2Stakemura * SUCH DAMAGE. 361.2Stakemura * 371.2Stakemura */ 381.1Stakemura#define __lint__ 391.1Stakemura#define __symbolrename(x) 401.3Srin#define _MODULE 411.2Stakemura#define _STANDALONE 421.2Stakemura#define __STDC__ 431.2Stakemura#define NO_LONG_LONG 441.2Stakemura#define INT64TYPE __int64 451.2Stakemura#define UINT64TYPE unsigned __int64 461.2Stakemura 471.2Stakemura#define bzero(s, n) memset((s), 0, (n)) 48