MacOS gmock build fix

Updated gmock complains about missing regex_t. This is likely a macos
configuration issue and needs to be fixed, but fot now just forcing the
declaration
meow-7.2.2
Andrey Kleshchev 2023-08-25 19:18:52 +03:00
parent 7373fd91fa
commit 0cc9a2d8fd
1 changed files with 6 additions and 0 deletions

View File

@ -54,6 +54,12 @@
#endif
#ifndef LL_WINDOWS
typedef struct {
void *re_pcre;
size_t re_nsub;
size_t re_erroffset;
} regex_t;
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#endif