From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/platform/UUID.h | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'Source/WebCore/platform/UUID.h') diff --git a/Source/WebCore/platform/UUID.h b/Source/WebCore/platform/UUID.h index 6d914dc04..fcbcba796 100644 --- a/Source/WebCore/platform/UUID.h +++ b/Source/WebCore/platform/UUID.h @@ -28,8 +28,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef UUID_h -#define UUID_h +#pragma once #include @@ -43,12 +42,7 @@ namespace WebCore { // This algorithm sets the version number as well as two reserved bits. All other bits are set using a random or pseudorandom // data source. Version 4 UUIDs have the form xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx with hexadecimal digits for x and one of 8, // 9, A, or B for y. -// -// On Windows, version 4 UUIDs are used since Windows 2000 (http://msdn.microsoft.com/en-us/library/aa446557.aspx). -// On MacOSX, version 4 UUIDs are used since Tiger (http://developer.apple.com/mac/library/technotes/tn/tn1103.html#TNTAG8). -// On Linux, the kernel offers the procfs pseudo-file /proc/sys/kernel/random/uuid that yields version 4 UUIDs (http://hbfs.wordpress.com/2008/09/30/ueid-unique-enough-ids/). -String createCanonicalUUIDString(); -} +WEBCORE_EXPORT String createCanonicalUUIDString(); -#endif +} -- cgit v1.2.1