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