From 640e3dd6bd6e1d398eead039b38ffb5062ae9406 Mon Sep 17 00:00:00 2001 From: redcode Date: Fri, 2 Oct 2015 02:17:58 +0200 Subject: [PATCH] Preprocessor conditions. --- Z80.CPU/v1.0/API/C/emulation/CPU/Z80.h | 2 +- Z80.CPU/v1.0/sources/Z80.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Z80.CPU/v1.0/API/C/emulation/CPU/Z80.h b/Z80.CPU/v1.0/API/C/emulation/CPU/Z80.h index 8690f07..24b3a23 100644 --- a/Z80.CPU/v1.0/API/C/emulation/CPU/Z80.h +++ b/Z80.CPU/v1.0/API/C/emulation/CPU/Z80.h @@ -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 diff --git a/Z80.CPU/v1.0/sources/Z80.c b/Z80.CPU/v1.0/sources/Z80.c index 0678d5c..503582d 100644 --- a/Z80.CPU/v1.0/sources/Z80.c +++ b/Z80.CPU/v1.0/sources/Z80.c @@ -9,7 +9,7 @@ Released under the terms of the GNU General Public License v3. */ #include -#if defined(CPU_Z80_BUILDING_DYNAMIC) +#ifdef CPU_Z80_BUILDING_DYNAMIC # define CPU_Z80_API Z_API_EXPORT #else # define CPU_Z80_API