fixed redefenition of alias

This commit is contained in:
iraizo 2022-01-12 14:00:02 +01:00
parent be80191b46
commit 03aa110407

4
util.h
View file

@ -27,7 +27,9 @@
#define ALIAS(f) #define ALIAS(f)
#ifndef __APPLE__ #ifdef __APPLE__
#define ALIAS(f)
#else
#define STRINGIFY(s) #s #define STRINGIFY(s) #s
#define ALIAS(f) __attribute__((alias(STRINGIFY(f)))) #define ALIAS(f) __attribute__((alias(STRINGIFY(f))))
#endif #endif