Add warning in rig.h for thread_local missing

pull/123/head
Michael Black 2019-08-01 22:41:56 -05:00
rodzic a86551f64c
commit 1b5f59577f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6599353EC683404D
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -72,7 +72,10 @@
defined __xlC__
# define thread_local __thread
# else
# warn "Please see if you can find a thread_local definition for this compiler"
# warn "You can comment out the error after this line but rigctld will not be thread safe for vfo_mode and ext_resp and will require up to 4 rigctld's for the 4 possible combinations of vfo_mode and ext_resp"
# error "Cannot define thread_local"
# define thread_local
# endif
#endif