mirror of
https://github.com/shadps4-emu/ext-fmt.git
synced 2024-11-30 05:00:27 +00:00
Module purview can only contain direct preprocessor code (#4029)
Resolved MSVC Warning C5202: a global module fragment can only contain preprocessor directives
This commit is contained in:
parent
514b6955d2
commit
af8cd4e404
@ -41,8 +41,6 @@ module;
|
||||
# include <stdint.h>
|
||||
# include <stdio.h>
|
||||
# include <time.h>
|
||||
|
||||
import std;
|
||||
#endif
|
||||
#include <cerrno>
|
||||
#include <climits>
|
||||
@ -83,6 +81,10 @@ import std;
|
||||
|
||||
export module fmt;
|
||||
|
||||
#ifdef FMT_IMPORT_STD
|
||||
import std;
|
||||
#endif
|
||||
|
||||
#define FMT_EXPORT export
|
||||
#define FMT_BEGIN_EXPORT export {
|
||||
#define FMT_END_EXPORT }
|
||||
|
Loading…
Reference in New Issue
Block a user