Fix (most) macOS compilation problems

This commit is contained in:
John J. Camilleri
2021-10-12 10:46:39 +02:00
parent 5e65db2e17
commit 1401a6d209
3 changed files with 5 additions and 3 deletions

View File

@@ -112,6 +112,6 @@ private:
DB_scope* next_scope;
};
extern PGF_INTERNAL_DECL thread_local DB_scope *last_db_scope __attribute__((tls_model("initial-exec")));
extern PGF_INTERNAL_DECL __thread DB_scope *last_db_scope __attribute__((tls_model("initial-exec")));
#endif