summaryrefslogtreecommitdiff
path: root/misc/win32
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2002-02-13 02:10:07 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2002-02-13 02:10:07 +0000
commit432fc8653018a0eff313836ee93ce9c34279076f (patch)
treea4a1ba5bc030d4afb6ff3f57e042a1ca75e74608 /misc/win32
parent7b2e40c1cf3a3ce66457ef30c7f3a7177e409397 (diff)
downloadapr-432fc8653018a0eff313836ee93ce9c34279076f.tar.gz
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. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62972 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc/win32')
-rw-r--r--misc/win32/getuuid.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/misc/win32/getuuid.c b/misc/win32/getuuid.c
index 78141eba7..f6fb999df 100644
--- a/misc/win32/getuuid.c
+++ b/misc/win32/getuuid.c
@@ -76,16 +76,6 @@ APR_DECLARE(void) apr_uuid_get(apr_uuid_t *uuid)
* 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));
}