fixing DLL API import error

This commit is contained in:
2023-12-11 20:36:21 +01:00
parent 4d6c970a71
commit 3ab024cced
2 changed files with 12 additions and 12 deletions

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/04 16:56:35 by maldavid #+# #+# */
/* Updated: 2023/12/11 19:45:15 by kbz_8 ### ########.fr */
/* Updated: 2023/12/11 20:35:41 by kbz_8 ### ########.fr */
/* */
/* ************************************************************************** */
@@ -17,16 +17,6 @@
#include "mlx_profile.h"
#ifdef MLX_COMPILER_MSVC
#ifdef MLX_BUILD
#define MLX_API __declspec(dllexport)
#else
#define MLX_IMPORT __declspec(dllimport)
#endif
#else
#define MLX_API
#endif
#ifdef __cplusplus
extern "C" {
#endif