Wireshark-dev: Re: [Wireshark-dev] Val_to_str as a macro

From: Dirk Jagdmann <doj@xxxxxxxxx>
Date: Wed, 11 Dec 2013 18:55:36 -0800
the original function. I can use a single temp global, but that's just
ugly and won't work if we ever do multithreading.

It may be ugly, but using thread local storage for that global variable will make it safe for multi-threading.

--
---> Dirk Jagdmann
----> http://cubic.org/~doj
-----> http://llg.cubic.org