diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/s/cygwin.h | 2 | ||||
| -rw-r--r-- | src/s/darwin.h | 3 | ||||
| -rw-r--r-- | src/s/freebsd.h | 2 | ||||
| -rw-r--r-- | src/s/netbsd.h | 2 | ||||
| -rw-r--r-- | src/s/unixware.h | 2 |
6 files changed, 3 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index cbfc1245c13..de0f729f915 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -11,6 +11,9 @@ | |||
| 11 | 11 | ||
| 12 | 2012-07-10 Glenn Morris <rgm@gnu.org> | 12 | 2012-07-10 Glenn Morris <rgm@gnu.org> |
| 13 | 13 | ||
| 14 | * s/cygwin.h, s/darwin.h, s/freebsd.h, s/netbsd.h, s/unixware.h: | ||
| 15 | Move PENDING_OUTPUT_COUNT definition to configure. | ||
| 16 | |||
| 14 | * s/irix6-5.h (DATA_START, DATA_SEG_BITS): | 17 | * s/irix6-5.h (DATA_START, DATA_SEG_BITS): |
| 15 | * s/hpux10-20.h (DATA_SEG_BITS, DATA_START): | 18 | * s/hpux10-20.h (DATA_SEG_BITS, DATA_START): |
| 16 | * s/gnu.h (DATA_START): Move definitions to configure. | 19 | * s/gnu.h (DATA_START): Move definitions to configure. |
diff --git a/src/s/cygwin.h b/src/s/cygwin.h index 9b437341324..0bbdab0cca1 100644 --- a/src/s/cygwin.h +++ b/src/s/cygwin.h | |||
| @@ -74,8 +74,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 74 | /* Used in various places to enable cygwin-specific code changes. */ | 74 | /* Used in various places to enable cygwin-specific code changes. */ |
| 75 | #define CYGWIN 1 | 75 | #define CYGWIN 1 |
| 76 | 76 | ||
| 77 | #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) | ||
| 78 | |||
| 79 | #define HAVE_SOCKETS | 77 | #define HAVE_SOCKETS |
| 80 | 78 | ||
| 81 | /* Emacs supplies its own malloc, but glib (part of Gtk+) calls | 79 | /* Emacs supplies its own malloc, but glib (part of Gtk+) calls |
diff --git a/src/s/darwin.h b/src/s/darwin.h index b042630ee91..6b3e680c5d9 100644 --- a/src/s/darwin.h +++ b/src/s/darwin.h | |||
| @@ -92,9 +92,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 92 | also the name of a Mach system call. */ | 92 | also the name of a Mach system call. */ |
| 93 | #define init_process emacs_init_process | 93 | #define init_process emacs_init_process |
| 94 | 94 | ||
| 95 | /* Used in dispnew.c. Copied from freebsd.h. */ | ||
| 96 | #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) | ||
| 97 | |||
| 98 | /* System uses OXTABS instead of the expected TAB3. (Copied from bsd386.h.) */ | 95 | /* System uses OXTABS instead of the expected TAB3. (Copied from bsd386.h.) */ |
| 99 | #define TAB3 OXTABS | 96 | #define TAB3 OXTABS |
| 100 | 97 | ||
diff --git a/src/s/freebsd.h b/src/s/freebsd.h index 05be07695cb..04e9a19bdf8 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h | |||
| @@ -23,8 +23,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 23 | /* Get most of the stuff from bsd-common */ | 23 | /* Get most of the stuff from bsd-common */ |
| 24 | #include "bsd-common.h" | 24 | #include "bsd-common.h" |
| 25 | 25 | ||
| 26 | #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) | ||
| 27 | |||
| 28 | /* This silences a few compilation warnings. */ | 26 | /* This silences a few compilation warnings. */ |
| 29 | #undef BSD_SYSTEM | 27 | #undef BSD_SYSTEM |
| 30 | #if __FreeBSD__ == 1 | 28 | #if __FreeBSD__ == 1 |
diff --git a/src/s/netbsd.h b/src/s/netbsd.h index ce3b2afa1bb..23e72541920 100644 --- a/src/s/netbsd.h +++ b/src/s/netbsd.h | |||
| @@ -21,8 +21,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 21 | /* Get most of the stuff from bsd-common. */ | 21 | /* Get most of the stuff from bsd-common. */ |
| 22 | #include "bsd-common.h" | 22 | #include "bsd-common.h" |
| 23 | 23 | ||
| 24 | #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) | ||
| 25 | |||
| 26 | #define DEFAULT_SOUND_DEVICE "/dev/audio" | 24 | #define DEFAULT_SOUND_DEVICE "/dev/audio" |
| 27 | 25 | ||
| 28 | /* Greg A. Woods <woods@weird.com> says we must include signal.h | 26 | /* Greg A. Woods <woods@weird.com> says we must include signal.h |
diff --git a/src/s/unixware.h b/src/s/unixware.h index 1f35287f6d1..e9ebb63f30a 100644 --- a/src/s/unixware.h +++ b/src/s/unixware.h | |||
| @@ -44,8 +44,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 44 | pty_name[sizeof(pty_name) - 1] = 0; \ | 44 | pty_name[sizeof(pty_name) - 1] = 0; \ |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__ptr - (FILE)->__base) | ||
| 48 | |||
| 49 | /* Conservative garbage collection has not been tested, so for now | 47 | /* Conservative garbage collection has not been tested, so for now |
| 50 | play it safe and stick with the old-fashioned way of marking. */ | 48 | play it safe and stick with the old-fashioned way of marking. */ |
| 51 | #define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE | 49 | #define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE |