tgsi: add a dummy function to silence warning
authorBrian Paul <brianp@vmware.com>
Thu, 13 May 2010 22:37:22 +0000 (16:37 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 14 May 2010 19:23:41 +0000 (13:23 -0600)
src/gallium/auxiliary/tgsi/tgsi_ppc.c

index ad553c71a5703acdfe49e690d781dffa971a4fed..3521847b61901e40593e219f1dbcf4dd7a1c70de 100644 (file)
@@ -1366,4 +1366,12 @@ tgsi_emit_ppc(const struct tgsi_token *tokens,
    return ok;
 }
 
+#else
+
+void ppc_dummy_func(void);
+
+void ppc_dummy_func(void)
+{
+}
+
 #endif /* PIPE_ARCH_PPC */