_conv.h revision 1618:8c9a4f31d225
19430SRaymond.Chen@Sun.COM/*
29430SRaymond.Chen@Sun.COM * CDDL HEADER START
39430SRaymond.Chen@Sun.COM *
49430SRaymond.Chen@Sun.COM * The contents of this file are subject to the terms of the
59430SRaymond.Chen@Sun.COM * Common Development and Distribution License (the "License").
69430SRaymond.Chen@Sun.COM * You may not use this file except in compliance with the License.
79430SRaymond.Chen@Sun.COM *
89430SRaymond.Chen@Sun.COM * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
99430SRaymond.Chen@Sun.COM * or http://www.opensolaris.org/os/licensing.
109430SRaymond.Chen@Sun.COM * See the License for the specific language governing permissions
119430SRaymond.Chen@Sun.COM * and limitations under the License.
129430SRaymond.Chen@Sun.COM *
139430SRaymond.Chen@Sun.COM * When distributing Covered Code, include this CDDL HEADER in each
149430SRaymond.Chen@Sun.COM * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
159430SRaymond.Chen@Sun.COM * If applicable, add the following below this CDDL HEADER, with the
169430SRaymond.Chen@Sun.COM * fields enclosed by brackets "[]" replaced with your own identifying
179430SRaymond.Chen@Sun.COM * information: Portions Copyright [yyyy] [name of copyright owner]
189430SRaymond.Chen@Sun.COM *
199430SRaymond.Chen@Sun.COM * CDDL HEADER END
209430SRaymond.Chen@Sun.COM */
219430SRaymond.Chen@Sun.COM
229430SRaymond.Chen@Sun.COM/*
239430SRaymond.Chen@Sun.COM * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
249430SRaymond.Chen@Sun.COM * Use is subject to license terms.
259430SRaymond.Chen@Sun.COM */
269430SRaymond.Chen@Sun.COM
279430SRaymond.Chen@Sun.COM#ifndef	__CONV_DOT_H
289430SRaymond.Chen@Sun.COM#define	__CONV_DOT_H
299430SRaymond.Chen@Sun.COM
309430SRaymond.Chen@Sun.COM#pragma ident	"%Z%%M%	%I%	%E% SMI"
319430SRaymond.Chen@Sun.COM
329430SRaymond.Chen@Sun.COM/*
339430SRaymond.Chen@Sun.COM * Local include file for conversion library.
349430SRaymond.Chen@Sun.COM */
359430SRaymond.Chen@Sun.COM#include <conv.h>
369430SRaymond.Chen@Sun.COM
379430SRaymond.Chen@Sun.COM#ifdef	__cplusplus
389430SRaymond.Chen@Sun.COMextern "C" {
399430SRaymond.Chen@Sun.COM#endif
409430SRaymond.Chen@Sun.COM
419430SRaymond.Chen@Sun.COM/*
429430SRaymond.Chen@Sun.COM * Some format strings differ depending on whether they are used for 32-bit
439430SRaymond.Chen@Sun.COM * or 64-bit values.
449430SRaymond.Chen@Sun.COM */
459430SRaymond.Chen@Sun.COM#if	defined(_ELF64)
469430SRaymond.Chen@Sun.COM#define	MSG_GBL_FMT_DEC		MSG_GBL_FMT_DEC_64
479430SRaymond.Chen@Sun.COM#define	MSG_GBL_FMT_DECS	MSG_GBL_FMT_DECS_64
489430SRaymond.Chen@Sun.COM#define	MSG_GBL_FMT_HEX		MSG_GBL_FMT_HEX_64
499430SRaymond.Chen@Sun.COM#define	MSG_GBL_FMT_HEXS	MSG_GBL_FMT_HEXS_64
509430SRaymond.Chen@Sun.COM
519430SRaymond.Chen@Sun.COM#define	MSG_SYM_FMT_VAL		MSG_SYM_FMT_VAL_64
529430SRaymond.Chen@Sun.COM#else
539430SRaymond.Chen@Sun.COM#define	MSG_GBL_FMT_DEC		MSG_GBL_FMT_DEC_32
549430SRaymond.Chen@Sun.COM#define	MSG_GBL_FMT_DECS	MSG_GBL_FMT_DECS_32
559430SRaymond.Chen@Sun.COM#define	MSG_GBL_FMT_HEX		MSG_GBL_FMT_HEX_32
569430SRaymond.Chen@Sun.COM#define	MSG_GBL_FMT_HEXS	MSG_GBL_FMT_HEXS_32
579430SRaymond.Chen@Sun.COM
589430SRaymond.Chen@Sun.COM#define	MSG_SYM_FMT_VAL		MSG_SYM_FMT_VAL_32
599430SRaymond.Chen@Sun.COM#endif
609430SRaymond.Chen@Sun.COM
619430SRaymond.Chen@Sun.COM#ifdef	__cplusplus
629430SRaymond.Chen@Sun.COM}
639430SRaymond.Chen@Sun.COM#endif
649430SRaymond.Chen@Sun.COM
659430SRaymond.Chen@Sun.COM#endif	/* __CONV_DOT_H */
669430SRaymond.Chen@Sun.COM