From a59cd521ebe4f4420e16474dae29bcbe10e811a1 Mon Sep 17 00:00:00 2001 From: solar Date: Sat, 15 May 2010 00:32:23 +0000 Subject: [PATCH] Added imaxdiv_t (for inttypes.h). git-svn-id: https://srv7.svn-repos.de/dev34/pdclib/trunk@414 546481bc-9713-0410-bf18-d3337bbf4a3e --- platform/example/internals/_PDCLIB_config.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/platform/example/internals/_PDCLIB_config.h b/platform/example/internals/_PDCLIB_config.h index d851df5..4251522 100644 --- a/platform/example/internals/_PDCLIB_config.h +++ b/platform/example/internals/_PDCLIB_config.h @@ -145,6 +145,15 @@ struct _PDCLIB_lldiv_t /* You are also required to state the literal suffix for the intmax type */ #define _PDCLIB_INTMAX_LITERAL ll +/* defines imaxdiv(), which is equivalent to the div() function */ +/* family (see further above) with intmax_t as basis. */ + +struct _PDCLIB_imaxdiv_t +{ + _PDCLIB_intmax quot; + _PDCLIB_intmax rem; +}; + /* -------------------------------------------------------------------------- */ /* Floating Point */ /* -------------------------------------------------------------------------- */ -- 2.47.2