The Handmade Essentials Jam just concluded. See the results

How to use Thread local storage across DLLs?

Is there any way to declare that a thread-local variable is also exported/imported to/from another DLL? When I use __declspec(thread) in combination with __declspec(dllexport/dllimport), MSVC complains about it.