From 14c898877ad4032c54f25ce683ac916a73c660b2 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 5 Feb 2005 17:23:38 +0000 Subject: [PATCH] Guard against nasty surprises when building with -DESERGEEV off. --- conio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conio.c b/conio.c index 9f51c31..8c33917 100644 --- a/conio.c +++ b/conio.c @@ -305,20 +305,24 @@ void textmode (int mode) int wherex (void) { +#ifdef SERGEEV int y; int x; getyx(conio_scr,y,x); x++; return(x); +#endif /* SERGEEV */ } int wherey (void) { +#ifdef SERGEEV int y; int x; getyx(conio_scr,y,x); y++; return(y); +#endif /* SERGEEV */ } void window (int left,int top,int right,int bottom) -- 2.31.1