Mercurial > dwindows
changeset 1364:417866ad960b
Fixes for compiling with Watcom on OS/2...
binaries don't seem to work but the source compiles now.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 18 Nov 2011 20:01:32 +0000 |
parents | cdbe26a4b116 |
children | c3644b818975 |
files | os2/dw.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/os2/dw.c Fri Nov 18 19:12:20 2011 +0000 +++ b/os2/dw.c Fri Nov 18 20:01:32 2011 +0000 @@ -34,6 +34,9 @@ #endif #include <sys/time.h> #include <sys/stat.h> +#ifdef __WATCOMC__ +#include <alloca.h> +#endif #include "dw.h" #define QWP_USER 0 @@ -10618,7 +10621,7 @@ int API dw_exec(char *program, int type, char **params) { type = type; /* keep compiler happy */ - return spawnvp(P_NOWAIT, program, params); + return spawnvp(P_NOWAIT, program, (char * const *)params); } /*