mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-03 22:54:39 +00:00
Merge pull request #326 from stripe2933/master
Fix for C++23 standard library module usage.
This commit is contained in:
commit
1b3abd9b92
@ -30,11 +30,12 @@ SOFTWARE.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <cerrno>
|
||||
|
||||
#ifndef ARGPARSE_MODULE_USE_STD_MODULE
|
||||
#include <algorithm>
|
||||
#include <any>
|
||||
#include <array>
|
||||
#include <cerrno>
|
||||
#include <charconv>
|
||||
#include <cstdlib>
|
||||
#include <functional>
|
||||
|
@ -39,6 +39,7 @@ export module argparse;
|
||||
|
||||
#ifdef ARGPARSE_MODULE_USE_STD_MODULE
|
||||
import std;
|
||||
import std.compat;
|
||||
|
||||
extern "C++" {
|
||||
#include <argparse/argparse.hpp>
|
||||
|
Loading…
Reference in New Issue
Block a user