make regoff_t and regex_t match C++ ABI

for regoff_t, it's impossible to match on 64-bit archs because glibc
defined the type in a non-conforming way. however this change makes
the type match on 32-bit archs.
This commit is contained in:
Rich Felker
2013-07-22 14:39:59 -04:00
parent 1da53dad27
commit 8327ae0cb2
2 changed files with 3 additions and 3 deletions
+2 -3
View File
@@ -7,13 +7,12 @@ extern "C" {
#include <features.h>
#define __NEED_regoff_t
#define __NEED_size_t
#include <bits/alltypes.h>
typedef long regoff_t;
typedef struct {
typedef struct re_pattern_buffer {
size_t re_nsub;
void *__opaque, *__padding[4];
size_t __nsub2;