hiredis: RtlGenRandom should be defined in Win32_APIs.c
saya1024 opened this issue · comments
I use hiredis in my code. It works well until I include "Win32_Interop/win32fixes.h" in different .cpp files.There is a link error: "Find one or more symbols with multiple definitions.". Finally I find a global variable “RtlGenRandom” in "src\Win32_Interop\Win32_APIs.h". It should be defined in "Win32_APIs.c" rather than in a head file.