# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1573499573 0 # Node ID a9809db1ddbfb0e4b585de92c7bf1af37b8b2e57 # Parent 211330337f2d5d7e03f965e3b06552073ccf090b Last change also allows removing Windows specific #ifdef. diff -r 211330337f2d -r a9809db1ddbf dwtest.c --- a/dwtest.c Mon Nov 11 19:10:22 2019 +0000 +++ b/dwtest.c Mon Nov 11 19:12:53 2019 +0000 @@ -7,15 +7,9 @@ #include #include #include "dw.h" -/* For snprintf on old Windows SDK */ +/* For snprintf, strdup etc on old Windows SDK */ #include "dwcompat.h" -#ifdef _MSC_VER -# if _MSC_VER >= 1400 -# define strdup(a) _strdup(a) -# endif -#endif - /* Select a fixed width font for our platform */ #ifdef __OS2__ #define FIXEDFONT "5.System VIO"