Commit 387bcf57 authored by Yang's avatar Yang

fix problem with ubuntu24

parent e547371b
......@@ -2,6 +2,7 @@ cmake_minimum_required( VERSION 3.8 )
include(CheckCXXCompilerFlag)
project(CMINUSF)
add_compile_definitions(_POSIX_C_SOURCE=200112L)
set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -std=c99")
......
......@@ -2,6 +2,7 @@
#include <iostream>
#include <vector>
#include <cstdint>
class Module;
class IntegerType;
......
#include "util.hpp"
#include <cstdint>
std::string ptr_to_str(const void* ptr)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment