Use MAX_LAN_USERNAME to determine if we should declare lusername.

This commit is contained in:
Bart House
2018-12-25 17:25:31 -08:00
parent c2f562e41c
commit cfb0e3ef78
2 changed files with 3 additions and 1 deletions

View File

@@ -956,7 +956,7 @@ struct instance_globals {
struct musable m;
/* nhlan.c */
#ifdef LAN_FEATURES
#ifdef MAX_LAN_USERNAME
char lusername[MAX_LAN_USERNAME];
int lusername_size;
#endif