Preprocessor conditions.

This commit is contained in:
redcode
2015-10-02 02:17:58 +02:00
parent 98b12771c9
commit 640e3dd6bd
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ Released under the terms of the GNU General Public License v3. */
#endif
#ifndef CPU_Z80_API
# if defined(CPU_Z80_USE_STATIC)
# ifdef CPU_Z80_USE_STATIC
# define CPU_Z80_API
# else
# define CPU_Z80_API Z_API

View File

@@ -9,7 +9,7 @@ Released under the terms of the GNU General Public License v3. */
#include <Z/macros/value.h>
#if defined(CPU_Z80_BUILDING_DYNAMIC)
#ifdef CPU_Z80_BUILDING_DYNAMIC
# define CPU_Z80_API Z_API_EXPORT
#else
# define CPU_Z80_API