Mercurial > dwindows
comparison dwtest.c @ 2354:dfb52d2bddaa
Only include dwcompat.h in dwtest on OS/2 and Windows.
This allows compilation of dwtest on Mac and Unix when --with-dwcompat isn't specified.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 08 Mar 2021 19:24:21 +0000 |
parents | 3361ce6070ce |
children | 98d0873d9c05 |
comparison
equal
deleted
inserted
replaced
2353:29cc92d4218b | 2354:dfb52d2bddaa |
---|---|
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 /* For snprintf, strdup etc on old Windows SDK */ | 10 /* For snprintf, strdup etc on old Windows SDK */ |
11 #if defined(__WIN32__) || defined(__OS2__) | |
11 #include "dwcompat.h" | 12 #include "dwcompat.h" |
13 #endif | |
12 | 14 |
13 /* Select a fixed width font for our platform */ | 15 /* Select a fixed width font for our platform */ |
14 #ifdef __OS2__ | 16 #ifdef __OS2__ |
15 #define FIXEDFONT "5.System VIO" | 17 #define FIXEDFONT "5.System VIO" |
16 #define FOLDER_ICON_NAME "os2\\folder" | 18 #define FOLDER_ICON_NAME "os2\\folder" |