wrowe 02/02/12 18:10:07
Modified: misc/win32 getuuid.c
Log:
Vetoed by GStein, there is a better 'alternate' implementation available
in misc/unix/getuuid.c. CE's build files should be updated to reflect
that version instead.
Revision Changes Path
1.8 +0 -10 apr/misc/win32/getuuid.c
Index: getuuid.c
===================================================================
RCS file: /home/cvs/apr/misc/win32/getuuid.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- getuuid.c 12 Feb 2002 21:56:13 -0000 1.7
+++ getuuid.c 13 Feb 2002 02:10:07 -0000 1.8
@@ -76,16 +76,6 @@
* is therefore not only a uniqifier, but an identity (which might not
* be appropriate in all cases.
*/
-#ifndef _WIN32_WCE
(void) CoCreateGuid(&guid);
-#else
- /* WCE lacks CoCreateGuid. So make something simple
- * for now.
- */
- guid.Data1 = rand();
- guid.Data2 = rand();
- guid.Data3 = rand();
- sprintf(guid.Data4, "%08X", rand());
-#endif
memcpy(uuid->data, &guid, sizeof(uuid->data));
}