diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-08-25 19:18:52 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-08-25 23:56:17 +0300 |
commit | 0cc9a2d8fd54ea5ed906597f2f922a85265bdd03 (patch) | |
tree | de42c4420d3bd0944eec6cc5d94fa1e829e5df88 /indra/test | |
parent | 7373fd91fa42b3fce0804ccd10899a5d1fdb5c36 (diff) |
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
Diffstat (limited to 'indra/test')
-rw-r--r-- | indra/test/test.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/test/test.cpp b/indra/test/test.cpp index bb48216b2b..cae9d4f5fd 100644 --- a/indra/test/test.cpp +++ b/indra/test/test.cpp @@ -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 |