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:
warwick
2002-01-24 05:49:04 +00:00
parent 3c240e9b4a
commit 654a297052
4 changed files with 17 additions and 8 deletions

View File

@@ -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)