fungos / cr

cr.h: A Simple C Hot Reload Header-only Library
https://fungos.github.io/cr-simple-c-hot-reload/
MIT License
1.54k stars 101 forks source link

Assign correct plugin creation time #75

Closed afraidofdark closed 8 months ago

afraidofdark commented 8 months ago

I am using windows 11 with visual studio 2022 for my development environment.

The change prevents falsely assuming the existing verson is old. Uninitialized timestam is 0 and because of that cr_plugin_changed function always returns true that causes a false positive.