diff --git a/include/OpenThreads/Thread b/include/OpenThreads/Thread index 80bf75cdf..90a424dad 100644 --- a/include/OpenThreads/Thread +++ b/include/OpenThreads/Thread @@ -38,7 +38,7 @@ extern OPENTHREAD_EXPORT_DIRECTIVE int GetNumberOfProcessors(); /** * Set the processor affinity of current thread. */ -int SetProcessorAffinityOfCurrentThread(const Affinity& affinity); +extern OPENTHREAD_EXPORT_DIRECTIVE int SetProcessorAffinityOfCurrentThread(const Affinity& affinity); /**