This commit is contained in:
CupWater
2026-08-17 11:29:05 +08:00
parent c196ffb6d8
commit 835c556a58
9 changed files with 43 additions and 9 deletions
+30
View File
@@ -0,0 +1,30 @@
#ifndef FEATHERLOG_FLOG_DEFINITIONS_H
#define FEATHERLOG_FLOG_DEFINITIONS_H
#ifndef FLOG_CALL
# define FLOG_CALL __stdcall
#endif
#ifndef FLOG_API
#if defined(__unix) || defined(__unix__)
#define FLOG_API
#elif defined(_WIN32) || defined(__WIN32__)
# ifdef FLOG_DLL_MODE
# ifdef FLOG_BUILDING_DLL
# define FLOG_API __declspec(dllexport)
# else
# define FLOG_API __declspec(dllimport)
# endif
# else
# define FLOG_API
# endif
#else
# error Unknow platform!
#endif
#endif
#endif