fix: More C++ support.

This commit is contained in:
2025-06-29 02:52:53 +02:00
parent 1401e1d70b
commit 1aba159f8f
4 changed files with 22 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
#ifndef __cplusplus
#define _GNU_SOURCE
#endif
#include <stdbool.h>
#include <stdint.h>
@@ -7,14 +8,16 @@
#include <sys/mman.h>
#include <sys/shm.h>
#ifdef __cplusplus
#include <cstdio>
#endif
#include "utils.h"
#ifndef INCLUDE_SET_H
#define INCLUDE_SET_H
#define SET_MAX_ERROR_MSG_SIZE 256
#define SET_MAX_NAME_SIZE 64
/**
* Meta data for one test function.
*