]> git.saurik.com Git - apple/libc.git/blobdiff - include/regex.h
Libc-1044.40.1.tar.gz
[apple/libc.git] / include / regex.h
index d362ab4660bc4fc854282219b885fdac2d1b22ef..a735132763b9d860744e1a3c5dcc0901ea83e1b3 100644 (file)
 
 #include <_types.h>
 #include <Availability.h>
+#include <sys/_types/_size_t.h>
 
 /*********/
 /* types */
 /*********/
 #if __DARWIN_C_LEVEL >= __DARWIN_C_FULL
-#ifndef        __cplusplus
-#ifndef        _WCHAR_T
-#define        _WCHAR_T
-typedef        __darwin_wchar_t        wchar_t;
-#endif /* _WCHAR_T */
-#endif /* __cplusplus */
+#include <sys/_types/_wchar_t.h>
 #endif /* __DARWIN_C_LEVEL >= __DARWIN_C_FULL */
 
 typedef __darwin_off_t regoff_t;
 
-#ifndef _SIZE_T
-#define _SIZE_T
-typedef __darwin_size_t        size_t;
-#endif
-
 typedef struct {
        int re_magic;
        size_t re_nsub;         /* number of parenthesized subexpressions */