Fix Windows builds (rand/random API)

This commit is contained in:
Robin Gareus 2021-08-14 01:07:13 +02:00
parent 79baf356b9
commit fc90c92a49
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
5 changed files with 19 additions and 1 deletions

View file

@ -19,6 +19,10 @@ using namespace Gtk;
using std::cerr;
using std::endl;
#ifdef PLATFORM_WINDOWS
#define srandom() srand()
#endif
int
main (int argc, char* argv[])
{