comparison dwtest.c @ 1601:71e0a3ad07f7

Enable level 3 warnings in DEBUG mode with Visual C to show deprecation warnings. Source code cleanup to eliminate the warnings now generated on this level.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 26 Feb 2012 09:21:35 +0000
parents ee47bda26916
children fd3b7784ab53
comparison
equal deleted inserted replaced
1600:cbfdd56e3e72 1601:71e0a3ad07f7
5 */ 5 */
6 #include <stdlib.h> 6 #include <stdlib.h>
7 #include <string.h> 7 #include <string.h>
8 #include <stdio.h> 8 #include <stdio.h>
9 #include "dw.h" 9 #include "dw.h"
10
11 #ifdef _MSC_VER
12 # if _MSC_VER >= 1400
13 # define strdup(a) _strdup(a)
14 # endif
15 #endif
10 16
11 /* Select a fixed width font for our platform */ 17 /* Select a fixed width font for our platform */
12 #ifdef __OS2__ 18 #ifdef __OS2__
13 #define FIXEDFONT "5.System VIO" 19 #define FIXEDFONT "5.System VIO"
14 #define FOLDER_ICON_NAME "os2\\folder" 20 #define FOLDER_ICON_NAME "os2\\folder"