diff options
| author | Jan Djärv | 2007-09-14 06:22:20 +0000 |
|---|---|---|
| committer | Jan Djärv | 2007-09-14 06:22:20 +0000 |
| commit | 4a46077fa2eac4f58347658e63792a9c7f8964ed (patch) | |
| tree | 62ae7876d2c4c62c6f879509597151ffd936d8b6 /src | |
| parent | 0e55874fcbd9f57023968b353fe62d59c72867a9 (diff) | |
| download | emacs-4a46077fa2eac4f58347658e63792a9c7f8964ed.tar.gz emacs-4a46077fa2eac4f58347658e63792a9c7f8964ed.zip | |
(abs): #undef before #define.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 11 | ||||
| -rw-r--r-- | src/keyboard.c | 1 | ||||
| -rw-r--r-- | src/xfaces.c | 1 | ||||
| -rw-r--r-- | src/xterm.c | 1 |
4 files changed, 14 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2fc471131ae..c9b38825527 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2007-09-14 Peter O'Gorman <bug-gnu-emacs@mlists.thewrittenword.com> (tiny change) | ||
| 2 | * gtkutil.c (xg_get_file_with_chooser): Move GCPRO1 after declarations. | ||
| 3 | |||
| 4 | * termhooks.h (enum event_kind): Remove trailing comma. | ||
| 5 | |||
| 6 | * frame.h (enum): Remove trailing comma. | ||
| 7 | |||
| 8 | 2007-09-14 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 9 | |||
| 10 | * keyboard.c, xterm.c, xfaces.c (abs): #undef before #define. | ||
| 11 | |||
| 1 | 2007-09-12 Glenn Morris <rgm@gnu.org> | 12 | 2007-09-12 Glenn Morris <rgm@gnu.org> |
| 2 | 13 | ||
| 3 | * gtkutil.c (cnt): Rename to menu_grab_callback_cnt for clarity. | 14 | * gtkutil.c (cnt): Rename to menu_grab_callback_cnt for clarity. |
diff --git a/src/keyboard.c b/src/keyboard.c index 99fd3419737..c398a85684d 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -112,6 +112,7 @@ extern int input_fd; | |||
| 112 | #define KBD_BUFFER_SIZE 4096 | 112 | #define KBD_BUFFER_SIZE 4096 |
| 113 | #endif /* No X-windows */ | 113 | #endif /* No X-windows */ |
| 114 | 114 | ||
| 115 | #undef abs | ||
| 115 | #define abs(x) ((x) >= 0 ? (x) : -(x)) | 116 | #define abs(x) ((x) >= 0 ? (x) : -(x)) |
| 116 | 117 | ||
| 117 | /* Following definition copied from eval.c */ | 118 | /* Following definition copied from eval.c */ |
diff --git a/src/xfaces.c b/src/xfaces.c index 26c98c41652..418d8922bb3 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -264,6 +264,7 @@ Boston, MA 02110-1301, USA. */ | |||
| 264 | 264 | ||
| 265 | #include <ctype.h> | 265 | #include <ctype.h> |
| 266 | 266 | ||
| 267 | #undef abs | ||
| 267 | #define abs(X) ((X) < 0 ? -(X) : (X)) | 268 | #define abs(X) ((X) < 0 ? -(X) : (X)) |
| 268 | 269 | ||
| 269 | /* Number of pt per inch (from the TeXbook). */ | 270 | /* Number of pt per inch (from the TeXbook). */ |
diff --git a/src/xterm.c b/src/xterm.c index bb25fba5f87..ba1102c65d0 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -155,6 +155,7 @@ extern void _XEditResCheckMessages (); | |||
| 155 | #endif | 155 | #endif |
| 156 | #endif | 156 | #endif |
| 157 | 157 | ||
| 158 | #undef abs | ||
| 158 | #define abs(x) ((x) < 0 ? -(x) : (x)) | 159 | #define abs(x) ((x) < 0 ? -(x) : (x)) |
| 159 | 160 | ||
| 160 | /* Default to using XIM if available. */ | 161 | /* Default to using XIM if available. */ |