From 9f5daaa50e50fb9e47a8cf9878d3b8a5c4be0477 Mon Sep 17 00:00:00 2001 From: David Banks Date: Tue, 28 Feb 2017 22:40:03 +0000 Subject: [PATCH] Fixes to stpcpy compat wrapper following review --- src/compat_wrappers.h | 4 ++-- src/vdfs.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/compat_wrappers.h b/src/compat_wrappers.h index 4fc25c53..a0975f3b 100644 --- a/src/compat_wrappers.h +++ b/src/compat_wrappers.h @@ -8,8 +8,8 @@ #include "b-em.h" -#ifndef WIN32 -#define HAVE_STPCPY +#ifdef WIN32 +#undef HAVE_STPCPY #endif FILE *x_fopen(const char *, const char *); diff --git a/src/vdfs.c b/src/vdfs.c index bb803c23..b6eb0d5a 100644 --- a/src/vdfs.c +++ b/src/vdfs.c @@ -29,7 +29,6 @@ #include "mem.h" #include "model.h" #include "tube.h" -#include "compat_wrappers.h" #include #include