aboutsummaryrefslogtreecommitdiff
path: root/libXfont/src/stubs/gettime.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXfont/src/stubs/gettime.c')
-rw-r--r--libXfont/src/stubs/gettime.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libXfont/src/stubs/gettime.c b/libXfont/src/stubs/gettime.c
new file mode 100644
index 000000000..7b2d3b34c
--- /dev/null
+++ b/libXfont/src/stubs/gettime.c
@@ -0,0 +1,14 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+#include "stubs.h"
+
+#ifdef __SUNPRO_C
+#pragma weak GetTimeInMillis
+#endif
+
+weak unsigned long
+GetTimeInMillis (void)
+{
+ return 0;
+}