]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
enable the separate CLVM_ and MVM_ExecuteProgram functions unless
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 29 Jan 2010 21:15:54 +0000 (21:15 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 29 Jan 2010 21:15:54 +0000 (21:15 +0000)
DP_SMALLMEMORY is defined, because these functions are necessary for
proper profiling

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9886 d7cf8633-e32d-0410-b094-e92efae38249

progsvm.h

index 6aa6b01a779f10dc7576d76f53716c56be5aa6c0..9481800e4cbbe81f6b446a9b231bf29ccf7b721e 100644 (file)
--- a/progsvm.h
+++ b/progsvm.h
@@ -33,6 +33,10 @@ The code uses void pointers instead.
 #include "progdefs.h"                  // generated by program cdefs
 #include "clprogdefs.h"                        // generated by program cdefs
 
+#ifndef DP_SMALLMEMORY
+#define PROFILING
+#endif
+
 // forward declaration of clgecko_t
 struct clgecko_s;