Drop redundant macro definitions from mbfl_defs.h

These are defined by the standard include headers we already use.
These cause conflicts which cause compiler warnings on some toolchains
(see GH-17112).

Closes GH-17114.
This commit is contained in:
Niels Dossche 2024-12-10 20:34:04 +01:00
parent 6e759e079f
commit 75e7234f70
No known key found for this signature in database
GPG key ID: B8A8AD166DF0E2E5

View file

@ -31,18 +31,6 @@
#ifndef MBFL_DEFS_H #ifndef MBFL_DEFS_H
#define MBFL_DEFS_H #define MBFL_DEFS_H
#ifndef NULL
#ifdef __cplusplus
#define NULL (0L)
#else
#define NULL (void *)(0L)
#endif
#endif
#ifndef SIZE_MAX
#define SIZE_MAX ((size_t)~0)
#endif
#ifdef _WIN32 #ifdef _WIN32
#ifdef MBFL_DLL_EXPORT #ifdef MBFL_DLL_EXPORT
#define MBFLAPI __declspec(dllexport) #define MBFLAPI __declspec(dllexport)