1/*-
2 * Copyright (c) 2001 The NetBSD Foundation, Inc.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to The NetBSD Foundation
6 * by Klaus Klein.
7 *
8 * Redistribution and use in source and binary forms, with or without
--- 14 unchanged lines hidden (view full) ---
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 * POSSIBILITY OF SUCH DAMAGE.
28 *
29 * From: $NetBSD: int_fmtio.h,v 1.2 2001/04/26 16:25:21 kleink Exp $
30 * from: src/sys/i386/include/_inttypes.h,v 1.2 2002/06/30 05:48:02 mike
31 * $FreeBSD: head/sys/mips/include/_inttypes.h 217156 2011-01-08 18:02:46Z tijl $
32 */
33
34#ifndef _MACHINE_INTTYPES_H_
35#define _MACHINE_INTTYPES_H_
36
37/*
38 * Macros for format specifiers.
39 */
40
41#ifdef __LP64__
42#define __PRI64 "l"
43#define __PRIptr "l"
44#else
45#define __PRI64 "ll"
46#define __PRIptr
47#endif
48
49/* fprintf(3) macros for signed integers. */
--- 173 unchanged lines hidden ---
2 * Copyright (c) 2001 The NetBSD Foundation, Inc.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to The NetBSD Foundation
6 * by Klaus Klein.
7 *
8 * Redistribution and use in source and binary forms, with or without
--- 14 unchanged lines hidden (view full) ---
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 * POSSIBILITY OF SUCH DAMAGE.
28 *
29 * From: $NetBSD: int_fmtio.h,v 1.2 2001/04/26 16:25:21 kleink Exp $
30 * from: src/sys/i386/include/_inttypes.h,v 1.2 2002/06/30 05:48:02 mike
31 * $FreeBSD: head/sys/mips/include/_inttypes.h 217156 2011-01-08 18:02:46Z tijl $
32 */
33
34#ifndef _MACHINE_INTTYPES_H_
35#define _MACHINE_INTTYPES_H_
36
37/*
38 * Macros for format specifiers.
39 */
40
41#ifdef __LP64__
42#define __PRI64 "l"
43#define __PRIptr "l"
44#else
45#define __PRI64 "ll"
46#define __PRIptr
47#endif
48
49/* fprintf(3) macros for signed integers. */
--- 173 unchanged lines hidden ---