/* Metrowerks Standard Library
 * Copyright © 1995-2003 Metrowerks Corporation.  All rights reserved.
 *
 * $Date: 2003/07/09 16:02:46 $
 * $Revision: 1.19.2.1 $
 */
 
#ifndef _MSL_DIV_T_H
#define _MSL_DIV_T_H

#include <ansi_parms.h>

#pragma options align=native

_MSL_BEGIN_NAMESPACE_STD
_MSL_BEGIN_EXTERN_C

	typedef struct {
		int	quot;
		int	rem;
	} div_t;

	typedef struct {
		long	quot;
		long	rem;
	} ldiv_t;

	#if _MSL_C99														/*- mm 030708 -*/
	#if _MSL_LONGLONG
		typedef struct 
		{
			long long	quot;
			long long	rem;
		} lldiv_t;
	#endif	/* #if _MSL_LONGLONG	*/
	#endif  /* _MSL_C99 */												/*- mm 030708 -*/
_MSL_END_EXTERN_C
_MSL_END_NAMESPACE_STD

#pragma options align=reset

#endif /* _MSL_DIV_T_H */

/* Change record:
 * mm  970905 added include of ansi_parms.h to avoid need for prefix file
 * hh  971206 added extern "C" (think maintenance).
 * hh  980122 added long long support
 * mm  981023 added wrappers round long long support
 * mm  990217 added namespace support	
 * cc  010409 updated to JWW new namespace macros
 * JWW 030224 Changed __MSL_LONGLONG_SUPPORT__ flag into the new more configurable _MSL_LONGLONG
 * mm  030708 Added C99 wrappers.
 */