mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 14:43:34 +00:00
removing GCC error
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
|
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2023/11/10 08:49:17 by maldavid #+# #+# */
|
/* Created: 2023/11/10 08:49:17 by maldavid #+# #+# */
|
||||||
/* Updated: 2023/12/16 20:11:18 by maldavid ### ########.fr */
|
/* Updated: 2023/12/16 20:20:35 by maldavid ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@@ -75,12 +75,6 @@
|
|||||||
#define MLX_API
|
#define MLX_API
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MLX_COMPILER_GCC) && !defined(MLX_PLAT_WINDOWS)
|
|
||||||
#define MLX_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
|
|
||||||
#else
|
|
||||||
#define MLX_VISIBILITY_HIDDEN
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__GNUC__) || (defined(__MWERKS__) && (__MWERKS__ >= 0x3000)) || (defined(__ICC) && (__ICC >= 600)) || defined(__ghs__)
|
#if defined(__GNUC__) || (defined(__MWERKS__) && (__MWERKS__ >= 0x3000)) || (defined(__ICC) && (__ICC >= 600)) || defined(__ghs__)
|
||||||
#define MLX_FUNC_SIG __PRETTY_FUNCTION__
|
#define MLX_FUNC_SIG __PRETTY_FUNCTION__
|
||||||
#elif defined(__DMC__) && (__DMC__ >= 0x810)
|
#elif defined(__DMC__) && (__DMC__ >= 0x810)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
|
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2022/10/04 17:35:20 by maldavid #+# #+# */
|
/* Created: 2022/10/04 17:35:20 by maldavid #+# #+# */
|
||||||
/* Updated: 2023/12/16 20:17:23 by maldavid ### ########.fr */
|
/* Updated: 2023/12/16 20:20:41 by maldavid ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
#include <core/memory.h>
|
#include <core/memory.h>
|
||||||
#include <mlx_profile.h>
|
#include <mlx_profile.h>
|
||||||
|
|
||||||
static void* __mlx_ptr MLX_VISIBILITY_HIDDEN = nullptr;
|
static void* __mlx_ptr = nullptr;
|
||||||
|
|
||||||
#define MLX_CHECK_APPLICATION_POINTER(ptr) \
|
#define MLX_CHECK_APPLICATION_POINTER(ptr) \
|
||||||
if(ptr != __mlx_ptr || ptr == NULL) \
|
if(ptr != __mlx_ptr || ptr == NULL) \
|
||||||
|
|||||||
Reference in New Issue
Block a user