[+] Clang/Win32 required map files (no)

This commit is contained in:
Reece Wilson 2023-12-19 03:35:22 +00:00
parent 0c1394178d
commit e5f6be914b
3 changed files with 10 additions and 5 deletions

View File

@ -1,6 +1,6 @@
/*** /***
Copyright (©) 2020 Reece Wilson (a/k/a "Reece"). Copyright (©) 2020 Reece Wilson (a/k/a "Reece").
All rights reserved. All rights reserved.
File: AuroraCommon.h File: AuroraCommon.h
Date: 2020-:( Date: 2020-:(

View File

@ -11,5 +11,5 @@
extern "C" extern "C"
{ {
#include "AuroraConfiguration.h" #include "AuroraConfiguration.h"
} }

View File

@ -104,7 +104,7 @@
#define AURORA_SYMBOL_IMPORT __declspec(dllimport) #define AURORA_SYMBOL_IMPORT __declspec(dllimport)
#define AURORA_SYMBOL_EXPORT __declspec(dllexport) #define AURORA_SYMBOL_EXPORT __declspec(dllexport)
#elif defined(AURORA_COMPILER_GCC) || defined(AURORA_COMPILER_CLANG) #elif defined(AURORA_COMPILER_GCC) || defined(AURORA_COMPILER_CLANG)
#if defined(__x86_64__) #if defined(__x86_64__)
#define AURORA_ARCH_X64 #define AURORA_ARCH_X64
@ -128,8 +128,13 @@
#define AURORA_IS_32BIT #define AURORA_IS_32BIT
#endif #endif
#define AURORA_SYMBOL_IMPORT #if defined(AURORA_IS_MODERNNT_DERIVED)
#define AURORA_SYMBOL_EXPORT __attribute__((visibility("default"))) #define AURORA_SYMBOL_IMPORT
#define AURORA_SYMBOL_EXPORT __declspec(dllexport)
#else
#define AURORA_SYMBOL_IMPORT
#define AURORA_SYMBOL_EXPORT __attribute__((visibility("default")))
#endif
#endif #endif