Make gb.h compatible with ANSI C++, fixes #698

This commit is contained in:
Lior Halphon 2025-04-08 20:39:12 +03:00
parent 8b27952680
commit 81c29fa371
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
#pragma once
#ifdef __cplusplus
#if defined(__STRICT_ANSI__) && !defined(typeof)
#define typeof decltype
#endif
extern "C" {
#endif