changeset 20788:a2b96b523472 stable

Rewrite a8ee668e7fd7 to use #if defined rather than #ifdef. * sysdep.cc: Write '#if defined (XXX) && defined (YYY)' rather than '#ifdef XXX && YYY'.
author Rik <rik@octave.org>
date Thu, 03 Dec 2015 09:25:03 -0800
parents a8ee668e7fd7
children 4c15057e1bc6 c132fbc748da
files libinterp/corefcn/sysdep.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/sysdep.cc	Wed Dec 02 14:05:37 2015 -0800
+++ b/libinterp/corefcn/sysdep.cc	Thu Dec 03 09:25:03 2015 -0800
@@ -513,7 +513,7 @@
 int
 octave_kbhit (bool wait)
 {
-#ifdef HAVE__KBHIT && HAVE__GETCH
+#if defined (HAVE__KBHIT) && defined (HAVE__GETCH)
   // This essentially means we are on a Windows system.
   int c;