X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstdlib.h;h=9ed464efb237c06d073b88320a34976800c72eab;hb=e1c526e9bad3f6e69391e94059096145390508d3;hp=22cc80c72b5e52011897f5a9b3fd2b05c7868fa9;hpb=0e9b1a27ae0d06ede490aa0c96b8dc35624388d0;p=pdclib diff --git a/includes/stdlib.h b/includes/stdlib.h index 22cc80c..9ed464e 100644 --- a/includes/stdlib.h +++ b/includes/stdlib.h @@ -1,5 +1,3 @@ -/* $Id$ */ - /* 7.20 General utilities This file is part of the Public Domain C Library (PDCLib). @@ -21,6 +19,11 @@ typedef _PDCLIB_size_t size_t; #define NULL _PDCLIB_NULL #endif +#ifndef _PDCLIB_MB_CUR_MAX_DEFINED +#define _PDCLIB_MB_CUR_MAX_DEFINED +#define MB_CUR_MAX (_PDCLIB_mb_cur_max()) +#endif + /* Numeric conversion functions */ /* TODO: atof(), strtof(), strtod(), strtold() */