diff options
| author | Adrian Robert | 2008-07-15 18:15:18 +0000 |
|---|---|---|
| committer | Adrian Robert | 2008-07-15 18:15:18 +0000 |
| commit | edfda78355c5528eee489fa8a7f9c73bf8e734f2 (patch) | |
| tree | 78d2414d9791e1efc17ec9b35b438ae35602340a /src/blockinput.h | |
| parent | 1391cd548782097e34d7856ec4f20ca90bdf2c26 (diff) | |
| download | emacs-edfda78355c5528eee489fa8a7f9c73bf8e734f2.tar.gz emacs-edfda78355c5528eee489fa8a7f9c73bf8e734f2.zip | |
merging Emacs.app (NeXTstep port)
Diffstat (limited to 'src/blockinput.h')
| -rw-r--r-- | src/blockinput.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/blockinput.h b/src/blockinput.h index bcf8d17e870..fb338d9df49 100644 --- a/src/blockinput.h +++ b/src/blockinput.h | |||
| @@ -59,6 +59,16 @@ extern int interrupt_input_pending; | |||
| 59 | 59 | ||
| 60 | extern int pending_atimers; | 60 | extern int pending_atimers; |
| 61 | 61 | ||
| 62 | #if defined HAVE_NS && !defined COCOA_EXPERIMENTAL_CTRL_G | ||
| 63 | /* NS does not use interrupt-driven input processing (yet), so this is | ||
| 64 | unneeded and moreover was causing problems. */ | ||
| 65 | #define BLOCK_INPUT | ||
| 66 | #define UNBLOCK_INPUT | ||
| 67 | #define TOTALLY_UNBLOCK_INPUT | ||
| 68 | #define UNBLOCK_INPUT_TO(LEVEL) | ||
| 69 | |||
| 70 | #else | ||
| 71 | |||
| 62 | /* Begin critical section. */ | 72 | /* Begin critical section. */ |
| 63 | #define BLOCK_INPUT (interrupt_input_blocked++) | 73 | #define BLOCK_INPUT (interrupt_input_blocked++) |
| 64 | 74 | ||
| @@ -115,6 +125,8 @@ extern int pending_atimers; | |||
| 115 | } \ | 125 | } \ |
| 116 | while (0) | 126 | while (0) |
| 117 | 127 | ||
| 128 | #endif /* defined HAVE_NS && !defined COCOA_EXPERIMENTAL_CTRL_G */ | ||
| 129 | |||
| 118 | #define UNBLOCK_INPUT_RESIGNAL UNBLOCK_INPUT | 130 | #define UNBLOCK_INPUT_RESIGNAL UNBLOCK_INPUT |
| 119 | 131 | ||
| 120 | /* In critical section ? */ | 132 | /* In critical section ? */ |