]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - zone.h
made darkplaces compile successfully with g++ to test for errors C doesn't care about...
[xonotic/darkplaces.git] / zone.h
diff --git a/zone.h b/zone.h
index af6ddfd586ed67476ad6af1eb8b1f29937af4ee4..2d672dbb956a75dfdf402d23d0234409f1390fb6 100644 (file)
--- a/zone.h
+++ b/zone.h
@@ -136,7 +136,7 @@ void _Mem_CheckSentinelsGlobal(const char *filename, int fileline);
 qboolean Mem_IsAllocated(mempool_t *pool, void *data);
 
 // used for temporary allocations
-mempool_t *tempmempool;
+extern mempool_t *tempmempool;
 
 void Memory_Init (void);
 void Memory_Shutdown (void);