Linux fixes. Don't support c89 for now

Because // comments are diagnosed and I can't be bothered
This commit is contained in:
2024-01-18 21:48:38 -08:00
parent 5d17675ad1
commit a10b9ad5b0
2 changed files with 7 additions and 2 deletions

View File

@@ -1,8 +1,9 @@
#include "ConflictSet.h"
#include <algorithm>
#include <cassert>
#include <compare>
#include <memory>
#include <cstring>
#include <random>
#include <span>
#include <string_view>
@@ -818,6 +819,10 @@ __attribute__((__visibility__("default"))) void ConflictSet_destroy(void *cs) {
}
}
namespace std {
void __throw_length_error(const char *) { abort(); }
} // namespace std
#ifdef ENABLE_TESTS
int main(void) {
int64_t writeVersion = 0;