]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
moving the QCVM_EXECUTOR ifdef in conout.c - these are used in the executor
authorWolfgang Bumiller <wry.git@bumiller.com>
Thu, 19 Sep 2013 18:55:32 +0000 (20:55 +0200)
committerWolfgang Bumiller <wry.git@bumiller.com>
Thu, 19 Sep 2013 19:05:39 +0000 (21:05 +0200)
conout.c

index aedff4da20b32e036fefd64ef4e3e0085d365546..63391d6a86f541efe9ad9f3f0b20af4a5a3f910e 100644 (file)
--- a/conout.c
+++ b/conout.c
@@ -326,7 +326,6 @@ int con_out(const char *fmt, ...) {
     return   ln;
 }
 
-#ifndef QCVM_EXECUTOR
 /*
  * Utility console message writes for lexer contexts.  These will allow
  * for reporting of file:line based on lexer context, These are used
@@ -379,6 +378,7 @@ void con_cprintmsg(lex_ctx_t ctx, int lvl, const char *msgtype, const char *msg,
     va_end  (va);
 }
 
+#ifndef QCVM_EXECUTOR
 /* General error interface */
 size_t compile_errors   = 0;
 size_t compile_warnings = 0;