add missing macros and declarations
[mw/micromonitor-lm32.git] / umon_main / target / glib / ldiv.c
1 #include "config.h"
2 #include "genlib.h"
3
4 ldiv_t
5 ldiv(long num,long den)
6 {
7         ldiv_t rslt;
8
9         rslt.quot = num/den;
10         rslt.rem = num % den;
11         return(rslt);
12 }