comparison dwtestoo.cpp @ 2973:ac880987a2c4

Mac: Fix compiling with Xcode 8.2.1, needed #include <stdlib.h> and <errno.h> for missing alloca(), calloc() and errno.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 21 Mar 2023 00:41:25 +0000
parents 2d9521396112
children fffb4904c90b
comparison
equal deleted inserted replaced
2972:5727036821bd 2973:ac880987a2c4
1 // An example Dynamic Windows application and testing 1 // An example Dynamic Windows application and testing
2 // ground for Dynamic Windows features in C++. 2 // ground for Dynamic Windows features in C++.
3 // By: Brian Smith and Mark Hessling 3 // By: Brian Smith and Mark Hessling
4 #include "dw.hpp" 4 #include "dw.hpp"
5 #include <cstdio> 5 #include <cstdio>
6 #include <errno.h>
6 7
7 // Select a fixed width font for our platform 8 // Select a fixed width font for our platform
8 #ifdef __OS2__ 9 #ifdef __OS2__
9 #define FIXEDFONT "5.System VIO" 10 #define FIXEDFONT "5.System VIO"
10 #define PLATFORMFOLDER "os2\\" 11 #define PLATFORMFOLDER "os2\\"