-AC_DEFUN(PSI_CHECK_STDLIB, [
+PSI_CHECK_STDLIB() {
AC_CHECK_HEADERS(stdlib.h)
-
+
PSI_STRUCT(div_t, [
int quot,
int rem
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, [()])
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)])
PSI_DECL(int unsetenv, [(char *var)])
PSI_DECL(size_t wcstombs, [(char *dest, wchar_t *src, size_t n)])
PSI_DECL(int wctomb, [(char *s, wchar_t wc)])
-])
-
+}