summaryrefslogtreecommitdiffhomepage
path: root/src/stubs/tier0.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stubs/tier0.c')
-rw-r--r--src/stubs/tier0.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/stubs/tier0.c b/src/stubs/tier0.c
index 2c9c578..75fb2db 100644
--- a/src/stubs/tier0.c
+++ b/src/stubs/tier0.c
@@ -4,6 +4,10 @@
F(Msg)
F(Warning)
-V(g_pMemAlloc)
+#ifdef _WIN32
+V(g_pMemAlloc) // this doesn't exist at all on Linux
+#else
+F(Error) // only used for extmalloc() and nothing else :^)
+#endif
// vi: sw=4 ts=4 noet tw=80 cc=80