From 6057146e57153cf2b32469fda514d62a2fa336b0 Mon Sep 17 00:00:00 2001 From: redcode Date: Fri, 2 Nov 2018 10:38:31 +0100 Subject: [PATCH] Homogeneity. --- sources/Z80.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sources/Z80.c b/sources/Z80.c index 5ff7426..83ede0b 100644 --- a/sources/Z80.c +++ b/sources/Z80.c @@ -20,6 +20,14 @@ this library. If not, see . */ #include #include +#if defined(CPU_Z80_HIDE_API) +# define CPU_Z80_API static +#elif defined(CPU_Z80_STATIC) +# define CPU_Z80_API +#else +# define CPU_Z80_API Z_API_EXPORT +#endif + #if defined(CPU_Z80_BUILD_ABI) || defined(CPU_Z80_BUILD_MODULE_ABI) # ifndef CPU_Z80_USE_ABI # define CPU_Z80_USE_ABI @@ -34,14 +42,6 @@ this library. If not, see . */ # endif #endif -#if defined(CPU_Z80_HIDE_API) -# define CPU_Z80_API static -#elif defined(CPU_Z80_STATIC) -# define CPU_Z80_API -#else -# define CPU_Z80_API Z_API_EXPORT -#endif - #if defined(CPU_Z80_USE_LOCAL_HEADER) # include "Z80.h" #else