File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 6
6
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
7
7
/* +#+#+#+#+#+ +#+ */
8
8
/* Created: 2022/10/04 16:56:35 by maldavid #+# #+# */
9
- /* Updated: 2023/12/11 19:45:15 by kbz_8 ### ########.fr */
9
+ /* Updated: 2023/12/11 20:35:41 by kbz_8 ### ########.fr */
10
10
/* */
11
11
/* ************************************************************************** */
12
12
17
17
18
18
#include "mlx_profile.h"
19
19
20
- #ifdef MLX_COMPILER_MSVC
21
- #ifdef MLX_BUILD
22
- #define MLX_API __declspec(dllexport)
23
- #else
24
- #define MLX_IMPORT __declspec(dllimport)
25
- #endif
26
- #else
27
- #define MLX_API
28
- #endif
29
-
30
20
#ifdef __cplusplus
31
21
extern "C" {
32
22
#endif
Original file line number Diff line number Diff line change 6
6
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
7
7
/* +#+#+#+#+#+ +#+ */
8
8
/* Created: 2023/11/10 08:49:17 by maldavid #+# #+# */
9
- /* Updated: 2023/12/11 20:25:51 by kbz_8 ### ########.fr */
9
+ /* Updated: 2023/12/11 20:35:57 by kbz_8 ### ########.fr */
10
10
/* */
11
11
/* ************************************************************************** */
12
12
53
53
#error "Unknown environment!"
54
54
#endif
55
55
56
+ #ifdef MLX_COMPILER_MSVC
57
+ #ifdef MLX_BUILD
58
+ #define MLX_API __declspec (dllexport)
59
+ #else
60
+ #define MLX_API __declspec (dllimport)
61
+ #endif
62
+ #else
63
+ #define MLX_API
64
+ #endif
65
+
56
66
// Checking common assumptions
57
67
#ifdef __cplusplus
58
68
#include < climits>
You can’t perform that action at this time.
0 commit comments