Fix building with recent djgpp2 gcc-6 version.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user