Fix building with recent djgpp2 gcc-6 version.

This commit is contained in:
Markus F.X.J. Oberhumer
2017-05-03 13:21:08 +02:00
parent 2e56fe82bb
commit 7ebed06393
11 changed files with 23 additions and 30 deletions
+1 -1
View File
@@ -638,7 +638,7 @@ unsigned Packer::getRandomId() const
#endif
while (id == 0)
{
#if !(HAVE_GETTIMEOFDAY) || defined(__DJGPP__)
#if !(HAVE_GETTIMEOFDAY) || ((ACC_OS_DOS32) && defined(__DJGPP__))
id ^= (unsigned) time(NULL);
id ^= ((unsigned) clock()) << 12;
#else