[Libreoffice-commits] .: sal/inc
Thomas Arnhold
tarnhold at kemper.freedesktop.org
Wed Feb 16 12:17:16 PST 2011
sal/inc/rtl/uuid.h | 30 ------------------------------
1 file changed, 30 deletions(-)
New commits:
commit 65e988cf39dcc71d479e40f94fc505459ee96513
Author: Francois Tigeot <ftigeot at wolfpond.org>
Date: Wed Feb 16 21:17:22 2011 +0100
Remove unused UUID_SYSTEM_TIME_RESOLUTION_100NS_TICKS
diff --git a/sal/inc/rtl/uuid.h b/sal/inc/rtl/uuid.h
index 7b52924..e79ce63 100644
--- a/sal/inc/rtl/uuid.h
+++ b/sal/inc/rtl/uuid.h
@@ -179,36 +179,6 @@ 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
-#elif AIX
-#define UUID_SYSTEM_TIME_RESOLUTION_100NS_TICKS 10
-#elif OPENBSD
-#define UUID_SYSTEM_TIME_RESOLUTION_100NS_TICKS 10
-#elif DRAGONFLY
-#define UUID_SYSTEM_TIME_RESOLUTION_100NS_TICKS 10
-#else
-#error "System time resolution must be calculated!"
-#endif
-
#ifdef __cplusplus
}
#endif
More information about the Libreoffice-commits
mailing list