SamuelTulach / LightHook

Single-header, minimalistic, cross-platform hook library written in pure C
MIT License
291 stars 46 forks source link

[BUG] Rename CopyMemory to LHCopyMemory [Windows SDK Conflict] #4

Closed CycloneRing closed 9 months ago

CycloneRing commented 1 year ago

Hey, When using LightHook on MSVC and WindowsSDK source cannot be compiled because your implementation of CopyMemory conflicts with Windows SDK CopyMemory, This can simply be fixed by renaming it to something else like LHCopyMemory.

Regards

SamuelTulach commented 9 months ago

That was fixed already so I am going to close this.