]> The Tcpdump Group git mirrors - libpcap/commitdiff
Add thread_local macro for HP-UX
authorMichael Osipov <[email protected]>
Fri, 13 Sep 2024 15:26:53 +0000 (17:26 +0200)
committerGuy Harris <[email protected]>
Sat, 21 Sep 2024 22:18:07 +0000 (15:18 -0700)
thread-local.h

index c9cbda2cbf2e98c6fc1a1bf33ac7b70be51cc5eb..9abf498c2e1e6bbd62ac983b6b4efb51ecb4491e 100644 (file)
@@ -62,7 +62,8 @@
   /* note that ICC (linux) and Clang are covered by __GNUC__ */
   #elif defined __GNUC__ || \
          defined __SUNPRO_C || \
-         defined __xlC__
+         defined __xlC__ || \
+         defined __hpux
     #define thread_local __thread
   #else
     #error "Cannot define thread_local"