Mercurial > dwindows
comparison dwcompat.h @ 2226:2de088fb5dd4
Added some missing APIs from the template, and changes so it builds dwtest.
Needed to make the key codes unique values so it would compile.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 26 Dec 2020 05:24:00 +0000 |
parents | d871f636b46e |
children | 95ad22a4da2d |
comparison
equal
deleted
inserted
replaced
2225:1ec6300a627b | 2226:2de088fb5dd4 |
---|---|
263 #include <stdlib.h> | 263 #include <stdlib.h> |
264 #include <stddef.h> | 264 #include <stddef.h> |
265 #include <signal.h> | 265 #include <signal.h> |
266 #include <fcntl.h> | 266 #include <fcntl.h> |
267 | 267 |
268 #if !defined(__WIN32__) && !defined(WINNT) | 268 #if !defined(_MSC_VER) |
269 #ifndef __WATCOMC__ | 269 #ifndef __WATCOMC__ |
270 #include <sys/time.h> | 270 #include <sys/time.h> |
271 #endif | 271 #endif |
272 #include <sys/socket.h> | 272 #include <sys/socket.h> |
273 #include <sys/un.h> | 273 #include <sys/un.h> |
279 #if defined(__OS2__) && defined(RES_DEFAULT) | 279 #if defined(__OS2__) && defined(RES_DEFAULT) |
280 #undef RES_DEFAULT | 280 #undef RES_DEFAULT |
281 #endif | 281 #endif |
282 #include <stdarg.h> | 282 #include <stdarg.h> |
283 #include <string.h> | 283 #include <string.h> |
284 #endif /* !WIN32 */ | 284 #endif /* !_MSC_VER */ |
285 #include <ctype.h> | 285 #include <ctype.h> |
286 | 286 |
287 #ifndef _MAX_PATH | 287 #ifndef _MAX_PATH |
288 #define _MAX_PATH 255 | 288 #define _MAX_PATH 255 |
289 #endif | 289 #endif |