]> git.lyx.org Git - lyx.git/blobdiff - src/spellchecker.C
try this for distinguishing inner and outer tabs
[lyx.git] / src / spellchecker.C
index f0b89da28f7e244c0a689323a08b27bc862ef768..f986e556ff5ffbc0ef960921b75a2c179da14515 100644 (file)
@@ -966,9 +966,12 @@ bool RunSpellChecker(BufferView * bv)
        }
 }
 
+#ifdef WITH_WARNINGS
 #warning should go somewhere more sensible
+#endif
 void sigchldhandler(pid_t pid, int * status)
-{ 
+{
+#ifndef USE_PSPELL
        if (isp_pid > 0)
                if (pid == isp_pid) {
                        isp_pid= -1;
@@ -976,5 +979,6 @@ void sigchldhandler(pid_t pid, int * status)
                                                               to nonblocking so we can 
                                                               continue */
                }
+#endif
        sigchldchecker(pid, status);
 }