remove __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS checks in stdint.h
[musl] / include / regex.h
index b7167b8..ea9b894 100644 (file)
@@ -5,11 +5,7 @@
 extern "C" {
 #endif
 
-#if __STDC_VERSION__ >= 199901L
-#define __restrict restrict
-#elif !defined(__GNUC__)
-#define __restrict
-#endif
+#include <features.h>
 
 #define __NEED_size_t
 
@@ -21,6 +17,7 @@ typedef struct {
        size_t re_nsub;
        void *__opaque, *__padding[4];
        size_t __nsub2;
+       char __padding2;
 } regex_t;
 
 typedef struct {