WIN32: MSVC: gettimeofday() is unsupported.
Versatile Commodore Emulator
Brought to you by:
blackystardust,
gpz
Unfortunately, src/screenshot.c cannot be compiled on MSVC because:
sys/time.h is unsupported.gettimeofday() is also unsupported.#ifdef...#endif.
While this fix makes it build.... it results in non working behaviour (screenshots will overwrite each other). Perhaps instead of the current time, a simple counter can be added to prevent this?
slightly modified patch applied in r45878, thanks!