MacOSX/Qt system tweaks
These changes clean up build warnings and allow the resulting "NetHack" Application icons to be dragged around freely in the Finder, as is expected for Mac apps.
This commit is contained in:
@@ -452,7 +452,7 @@ setrandom()
|
||||
#ifdef RANDOM /* srandom() from sys/share/random.c */
|
||||
srandom((unsigned int) time((time_t *)0));
|
||||
#else
|
||||
# if defined(BSD) || defined(ULTRIX) || defined(CYGWIN32) /* system srandom() */
|
||||
# if defined(__APPLE__) || defined(BSD) || defined(ULTRIX) || defined(CYGWIN32) /* system srandom() */
|
||||
# ifdef BSD
|
||||
# if defined(SUNOS4)
|
||||
(void)
|
||||
|
||||
Reference in New Issue
Block a user