mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-03 22:54:39 +00:00
Move <errno> include outside the ARGPARSE_MODULE_USE_STD_MODULE
<errno> header exposes errno macro, which cannot be exported in C++ module. It must always included regardless of module usage.
This commit is contained in:
parent
69dabd88a8
commit
873596b41d
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user