diff options
Diffstat (limited to 'sal/inc/rtl/uuid.h')
-rw-r--r-- | sal/inc/rtl/uuid.h | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/sal/inc/rtl/uuid.h b/sal/inc/rtl/uuid.h index 3ff5bb2c1232..ed0180a88985 100644 --- a/sal/inc/rtl/uuid.h +++ b/sal/inc/rtl/uuid.h @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -178,32 +179,10 @@ void SAL_CALL rtl_createNamedUuid( 0x80, 0xb4, 0x00, 0xc0, 0x4f, 0xd4, 0x30, 0xc8\ } - -/* - This macro must have a value below the system time resolution of the - system. The uuid routines use this value as an upper limit for adding ticks to the - the predecessor time value if system times are equal. - */ -#ifdef SAL_W32 -#define UUID_SYSTEM_TIME_RESOLUTION_100NS_TICKS 1000 -#elif defined SAL_OS2 // YD we use posix functions for time -#define UUID_SYSTEM_TIME_RESOLUTION_100NS_TICKS 10 -#elif LINUX -#define UUID_SYSTEM_TIME_RESOLUTION_100NS_TICKS 10 -#elif NETBSD -#define UUID_SYSTEM_TIME_RESOLUTION_100NS_TICKS 10 -#elif FREEBSD -#define UUID_SYSTEM_TIME_RESOLUTION_100NS_TICKS 10 -#elif SOLARIS -#define UUID_SYSTEM_TIME_RESOLUTION_100NS_TICKS 10 -#elif MACOSX -#define UUID_SYSTEM_TIME_RESOLUTION_100NS_TICKS 100000 -#else -#error "System time resolution must be calculated!" -#endif - #ifdef __cplusplus } #endif #endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |