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