Use extern.h for regexes.

I was planning to do this anyway, but it created an include loop that
was breaking it on Windows.
This commit is contained in:
Sean Hunt
2015-04-03 15:08:29 -04:00
parent b86ad06d6b
commit 80aa109855
5 changed files with 10 additions and 26 deletions

View File

@@ -7,7 +7,7 @@
#include <memory>
extern "C" {
#include <nhregex.h>
#include <hack.h>
struct nhregex {
std::unique_ptr<std::regex> re;