diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-11-15 15:06:55 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-11-15 15:06:55 +0000 |
commit | 2e5c59efc9df61d84f81af0f9a100672d096bac6 (patch) | |
tree | 99b333298da6a6e3698e8b43788f2d4c2097d8fe | |
parent | 5cd56c90f05d05c19c484f606b70d17873b507b5 (diff) |
Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Addedsco_port_update-baseXORG-6_8_99_6XORG-6_8_99_5XORG-6_8_99_4XORG-6_8_99_3XORG-6_8_99_2XORG-6_8_99_1sco_port_update
mingw (Win32) port
-rw-r--r-- | GenKey.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -51,6 +51,12 @@ getbits (long data, unsigned char *dst) #define srandom srand48 #define random lrand48 #endif +#ifdef WIN32 +#include <process.h> +#define srandom srand +#define random rand +#define getpid(x) _getpid(x) +#endif void XdmcpGenerateKey (XdmAuthKeyPtr key) |