incorporate 3.6.7+ build fix for VMS
Make sure CLR_MAX is defined when winprocs.h uses it. sys/vms/vmsmail.c uses wintypes.h and winprocs.h without hack.h; a change in 3.6.3 broke that but wasn't noticed until now. I haven't added a fixes entry since we don't know whether 3.7.x will eventually be buildable on VMS.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.7 winprocs.h $NHDT-Date: 1596498572 2020/08/03 23:49:32 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.56 $ */
|
||||
/* NetHack 3.7 winprocs.h $NHDT-Date: 1683748057 2023/05/10 19:47:37 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.74 $ */
|
||||
/* Copyright (c) David Cohrs, 1992 */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
#define WINPROCS_H
|
||||
|
||||
#include "botl.h"
|
||||
#ifndef CLR_MAX
|
||||
#include "color.h"
|
||||
#endif
|
||||
|
||||
enum wp_ids { wp_tty = 1, wp_X11, wp_Qt, wp_mswin, wp_curses,
|
||||
wp_chainin, wp_chainout, wp_safestartup, wp_shim,
|
||||
|
||||
Reference in New Issue
Block a user