patch 9.1.0036: MS-Windows: Warning about unused variable

Problem:  MS-Windows: Warning about unused variable
          (after 9.1.0030, John Marriott)
Solution: Adjust #ifdef and test for HAVE_TGETENT
          (John Marriott)

Signed-off-by: John Marriott <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/term.c b/src/term.c
index 08afa04..44d7443 100644
--- a/src/term.c
+++ b/src/term.c
@@ -637,11 +637,13 @@
 };
 #endif
 
+#ifdef HAVE_TGETENT
 static tcap_entry_T special_term[] = {
     // These are printf strings, not terminal codes.
     {(int)KS_CF,	"\033[%dm"},
     {(int)KS_NAME,	NULL}  // end marker
 };
+#endif
 
 /*
  * iris-ansi for Silicon Graphics machines.