Fix a problem with ifdef/ifndef for threads

merge-requests/1/head
Peter Kirchgessner 2003-02-11 22:34:11 +00:00
rodzic 4c428e0517
commit 71103c85e6
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -811,7 +811,7 @@ sanei_hp_handle_cancel (HpHandle this)
this->reader_pid);
if (this->child_forked)
kill(this->reader_pid, SIGTERM);
#ifndef HP_USE_THREAD
#ifdef HP_USE_THREAD
else
sanei_thread_kill(this->reader_pid, SIGTERM);
#endif