passing structs
[m6w6/ext-psi] / m4 / stdlib.m4
index 48dbfc969fed278f62c0571b0914a5f5250e2f37..de4c688a60cba541b63f05e789baace4aab5476f 100644 (file)
@@ -13,7 +13,8 @@ PSI_CHECK_STDLIB() {
        PSI_CONST(EXIT_FAILURE, int)
        PSI_CONST(EXIT_SUCCESS, int)
        PSI_CONST(RAND_MAX, int)
-       PSI_CONST(MB_CUR_MAX, int)
+       
+       PSI_MACRO(int MB_CUR_MAX)
 
        PSI_DECL(void _Exit, [(int status)])
        PSI_DECL(void abort, [()])
@@ -21,7 +22,7 @@ PSI_CHECK_STDLIB() {
        PSI_DECL(double atof, [(char *str)])
        PSI_DECL(int atoi, [(char *str)])
        PSI_DECL(long atol, [(char *str)])
-       dnl PSI_DECL(div_t div, [(int numerator, int denominator)])
+       PSI_DECL(div_t div, [(int numerator, int denominator)])
        PSI_DECL(double drand48, [()])
        PSI_DECL(double erand48, [(unsigned short xsubi@<:@3@:>@)])
        PSI_DECL(void exit, [(int status)])