aboutsummaryrefslogtreecommitdiff
path: root/libXfont/src/stubs/xpstubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXfont/src/stubs/xpstubs.c')
-rw-r--r--libXfont/src/stubs/xpstubs.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/libXfont/src/stubs/xpstubs.c b/libXfont/src/stubs/xpstubs.c
new file mode 100644
index 000000000..939b34f21
--- /dev/null
+++ b/libXfont/src/stubs/xpstubs.c
@@ -0,0 +1,21 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+#include "stubs.h"
+
+#ifdef __SUNPRO_C
+#pragma weak XpClientIsBitmapClient
+#pragma weak XpClientIsPrintClient
+#endif
+
+weak Bool
+XpClientIsBitmapClient(ClientPtr client)
+{
+ return True;
+}
+
+weak Bool
+XpClientIsPrintClient(ClientPtr client, FontPathElementPtr fpe)
+{
+ return False;
+}