Revision: 42287
http://brlcad.svn.sourceforge.net/brlcad/?rev=42287&view=rev
Author: starseeker
Date: 2011-01-15 01:03:15 +0000 (Sat, 15 Jan 2011)
Log Message:
-----------
Fixes to ifdef in cursor.c, expand the logic for Sc.c in burst.
Modified Paths:
--------------
brlcad/trunk/src/burst/Sc.c
brlcad/trunk/src/libcursor/cursor.c
Modified: brlcad/trunk/src/burst/Sc.c
===================================================================
--- brlcad/trunk/src/burst/Sc.c 2011-01-15 00:06:16 UTC (rev 42286)
+++ brlcad/trunk/src/burst/Sc.c 2011-01-15 01:03:15 UTC (rev 42287)
@@ -38,16 +38,32 @@
#endif
/* Externals from termlib(3). */
-#ifdef HAVE_NCURSES_H
-# include <ncurses.h>
+#ifdef HAVE_TERMLIB_H
+# include <termlib.h>
#else
-# ifdef HAVE_CURSES_H
-# include <curses.h>
+# ifdef HAVE_NCURSES_H
+# include <ncurses.h>
+# else
+# ifdef HAVE_CURSES_H
+# include <curses.h>
+# else
+# ifdef HAVE_TERMCAP_H
+# include <termcap.h>
+# else
+# ifdef HAVE_TERMINFO_H
+# include <terminfo.h>
+# else
+# ifdef HAVE_TINFO_H
+# include <tinfo.h>
+# endif
+# endif
+# endif
+# endif
# endif
+# ifdef HAVE_TERM_H
+# include <term.h>
+# endif
#endif
-#ifdef HAVE_TERM_H
-# include <term.h>
-#endif
#include "bu.h"
Modified: brlcad/trunk/src/libcursor/cursor.c
===================================================================
--- brlcad/trunk/src/libcursor/cursor.c 2011-01-15 00:06:16 UTC (rev 42286)
+++ brlcad/trunk/src/libcursor/cursor.c 2011-01-15 01:03:15 UTC (rev 42287)
@@ -27,7 +27,7 @@
#ifdef HAVE_TERMLIB_H
# include <termlib.h>
#else
-# if HAVE_NCURSES_H
+# ifdef HAVE_NCURSES_H
# include <ncurses.h>
# else
# ifdef HAVE_CURSES_H
@@ -46,7 +46,7 @@
# endif
# endif
# endif
-# if HAVE_TERM_H
+# ifdef HAVE_TERM_H
# include <term.h>
# endif
#endif
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits