summaryrefslogtreecommitdiff
path: root/src/gl_draw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/gl_draw.cxx')
-rw-r--r--src/gl_draw.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gl_draw.cxx b/src/gl_draw.cxx
index a15a15123..da2acff4c 100644
--- a/src/gl_draw.cxx
+++ b/src/gl_draw.cxx
@@ -559,6 +559,10 @@ void gl_texture_pile_height(int max)
/** @} */
+#elif defined(__APPLE__)
+// used only if __ppc__
+int gl_texture_pile_height(void) {return 0;}
+void gl_texture_pile_height(int max) {}
#endif // GL_DRAW_USES_TEXTURES
#endif // HAVE_GL