moving profile to API scope

This commit is contained in:
2023-12-11 20:28:58 +01:00
parent e8f4056b81
commit 4d6c970a71
40 changed files with 87 additions and 72 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/08 18:07:40 by kbz_8 ### ########.fr */
/* Updated: 2023/12/11 19:45:15 by kbz_8 ### ########.fr */
/* */
/* ************************************************************************** */
@@ -15,18 +15,16 @@
#ifndef __MACRO_LIB_X_H__
#define __MACRO_LIB_X_H__
#if defined(_WIN32) || defined(_WIN64)
#define MLX_EXPORT __declspec(dllexport)
#define MLX_IMPORT __declspec(dllimport)
#else
#define MLX_EXPORT
#define MLX_IMPORT
#endif
#include "mlx_profile.h"
#ifdef MLX_BUILD
#define MLX_API MLX_EXPORT
#ifdef MLX_COMPILER_MSVC
#ifdef MLX_BUILD
#define MLX_API __declspec(dllexport)
#else
#define MLX_IMPORT __declspec(dllimport)
#endif
#else
#define MLX_API MLX_IMPORT
#define MLX_API
#endif
#ifdef __cplusplus