Unbreak no-TLS build
authorJeremy Harris <jgh146exb@wizmail.org>
Fri, 9 Oct 2020 22:01:14 +0000 (23:01 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Fri, 9 Oct 2020 22:01:14 +0000 (23:01 +0100)
Broken-by: dc4ab0a186
src/src/daemon.c

index 899aa0dab539b5f74e123054da2493be2669d369..78a4d8ec2ba137fc3d24188ca224a555e8b3d8b3 100644 (file)
@@ -963,7 +963,7 @@ daemon_die(void)
 {
 int pid;
 
-#if defined(EXIM_HAVE_INOTIFY) || defined(EXIM_HAVE_KEVENT)
+#if !defined(DISABLE_TLS) && (defined(EXIM_HAVE_INOTIFY) || defined(EXIM_HAVE_KEVENT))
 tls_watch_invalidate();
 #endif