From: Guy Harris Date: Sat, 21 Sep 2024 22:21:06 +0000 (-0700) Subject: Check for HP's C compiler rather than for HP-UX. X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/a18461f24e5314d37526106e5008b832d17cbdd3 Check for HP's C compiler rather than for HP-UX. The test concerns the compiler, not the OS. --- diff --git a/thread-local.h b/thread-local.h index 9abf498c..a84f4d2c 100644 --- a/thread-local.h +++ b/thread-local.h @@ -63,7 +63,7 @@ #elif defined __GNUC__ || \ defined __SUNPRO_C || \ defined __xlC__ || \ - defined __hpux + defined __HP_cc #define thread_local __thread #else #error "Cannot define thread_local"