Don't include <unistd.h> unless HAVE_UNISTD_H. Include <process.h> on
authorTor Lillqvist <tml@iki.fi>
Fri, 23 Jan 2004 02:10:46 +0000 (02:10 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Fri, 23 Jan 2004 02:10:46 +0000 (02:10 +0000)
commit876b7efdbd3f40757f16b6ad9dbc9719b7646e72
tree5e4001e952fcb0604bc8193b1eefc00cec614e82
parente009f72e5dd32c0a170e8f82920d9da954d7baa7
Don't include <unistd.h> unless HAVE_UNISTD_H. Include <process.h> on

2004-01-23  Tor Lillqvist  <tml@iki.fi>

* glib/grand.c: Don't include <unistd.h> unless
HAVE_UNISTD_H. Include <process.h> on G_OS_WIN32.
(g_rand_new): Use getppid() only on G_OS_UNIX.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/grand.c