diff options
| author | Paul Eggert | 2019-04-23 13:51:07 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-04-23 13:51:57 -0700 |
| commit | 51595f5340d141e5f1e7b2a4d858abfa9b12c43e (patch) | |
| tree | 4e61f686d4280eba002ea0179ec623785e96172b /src/kqueue.c | |
| parent | 26f9a77f2478fb73bc82f12b3285c5f8cd7eb9f3 (diff) | |
| download | emacs-51595f5340d141e5f1e7b2a4d858abfa9b12c43e.tar.gz emacs-51595f5340d141e5f1e7b2a4d858abfa9b12c43e.zip | |
Remove some unnecessary #ifdef directives
These directives are in files that are compiled only if the
symbols are defined.
* src/gfilenotify.c: Remove unnecessary ‘#ifdef HAVE_GFILENOTIFY’.
* src/inotify.c: Remove unnecessary ‘#ifdef HAVE_INOTIFY’.
* src/kqueue.c: Remove unnecessary ‘#ifdef HAVE_KQUEUE’.
Diffstat (limited to 'src/kqueue.c')
| -rw-r--r-- | src/kqueue.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/kqueue.c b/src/kqueue.c index 48121bd663a..42391f84677 100644 --- a/src/kqueue.c +++ b/src/kqueue.c | |||
| @@ -19,7 +19,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 19 | 19 | ||
| 20 | #include <config.h> | 20 | #include <config.h> |
| 21 | 21 | ||
| 22 | #ifdef HAVE_KQUEUE | ||
| 23 | #include <stdio.h> | 22 | #include <stdio.h> |
| 24 | #include <sys/types.h> | 23 | #include <sys/types.h> |
| 25 | #include <sys/event.h> | 24 | #include <sys/event.h> |
| @@ -533,8 +532,6 @@ syms_of_kqueue (void) | |||
| 533 | Fprovide (intern_c_string ("kqueue"), Qnil); | 532 | Fprovide (intern_c_string ("kqueue"), Qnil); |
| 534 | } | 533 | } |
| 535 | 534 | ||
| 536 | #endif /* HAVE_KQUEUE */ | ||
| 537 | |||
| 538 | /* PROBLEMS | 535 | /* PROBLEMS |
| 539 | * https://bugs.launchpad.net/ubuntu/+source/libkqueue/+bug/1514837 | 536 | * https://bugs.launchpad.net/ubuntu/+source/libkqueue/+bug/1514837 |
| 540 | prevents tests on Ubuntu. */ | 537 | prevents tests on Ubuntu. */ |