]> code.delx.au - gnu-emacs/blobdiff - src/s/gnu-linux.h
(INTERVAL_SRC): Also depend on dispextern.h.
[gnu-emacs] / src / s / gnu-linux.h
index bd0acd3630295e3c56cd9366b7cf86462336f992..7437db5d8ebd0536aa6e7de969afc08a2681fceb 100644 (file)
@@ -105,10 +105,8 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #define BSTRING
 
-/* These are used in Flist_system_processes and Fsystem_process_attributes.  */
+/* This is used in list_system_processes.  */
 #define HAVE_PROCFS 1
-#define LISTPROC procfs_list_system_processes
-#define PROCATTR procfs_system_process_attributes
 
 /* define MAIL_USE_FLOCK if the mailer uses flock
    to interlock access to /usr/spool/mail/$USER.
@@ -156,11 +154,15 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 /* new C libio names */
 #define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \
   ((FILE)->_IO_write_ptr - (FILE)->_IO_write_base)
-#else /* !_IO_STDIO_H */
+#elif defined (__UCLIBC__)
+/* using the uClibc library */
+#define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \
+  ((FILE)->__bufpos - (FILE)->__bufstart)
+#else /* !_IO_STDIO_H && ! __UCLIBC__ */
 /* old C++ iostream names */
 #define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \
   ((FILE)->_pptr - (FILE)->_pbase)
-#endif /* !_IO_STDIO_H */
+#endif /* !_IO_STDIO_H && ! __UCLIBC__ */
 #endif /* emacs */
 
 /* Ask GCC where to find libgcc.a.  */