Mercurial > dwindows
changeset 2026:a9809db1ddbf
Last change also allows removing Windows specific #ifdef.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 11 Nov 2019 19:12:53 +0000 |
parents | 211330337f2d |
children | ed9217a95924 |
files | dwtest.c |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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 <string.h> #include <stdio.h> #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"