Import std.compat module.

To use <cstdlib> feature, std.compat module should be imported.
This commit is contained in:
LEE KYOUNGHEON 2024-02-06 17:05:54 +09:00 committed by GitHub
parent 873596b41d
commit 6bdc003e15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,6 +39,7 @@ export module argparse;
#ifdef ARGPARSE_MODULE_USE_STD_MODULE #ifdef ARGPARSE_MODULE_USE_STD_MODULE
import std; import std;
import std.cppm;
extern "C++" { extern "C++" {
#include <argparse/argparse.hpp> #include <argparse/argparse.hpp>