diff --git a/include/QF/pr_debug.h b/include/QF/pr_debug.h index be398f056..9811afe67 100644 --- a/include/QF/pr_debug.h +++ b/include/QF/pr_debug.h @@ -31,6 +31,7 @@ #ifndef __QF_pr_debug_h #define __QF_pr_debug_h +#ifndef __QFCC__ #include "QF/pr_comp.h" typedef struct pr_auxfunction_s { @@ -63,5 +64,18 @@ typedef struct pr_debug_header_s { pr_uint_t locals; pr_uint_t num_locals; } pr_debug_header_t; +#endif + +typedef enum prdebug_e { + prd_none, + prd_trace, + prd_breakpoint, + prd_watchpoint, + prd_subenter, + prd_subexit, // current invocation of PR_ExecuteProgram finished + prd_terminate, // not sent by VM + prd_runerror, + prd_error, // lower level error thann prd_runerror +} prdebug_t; #endif//__QF_pr_debug_h diff --git a/include/QF/progs.h b/include/QF/progs.h index 95d5db44c..d9f738846 100644 --- a/include/QF/progs.h +++ b/include/QF/progs.h @@ -1725,18 +1725,6 @@ typedef struct { strref_t *tstr; ///< Linked list of temporary strings. } prstack_t; -typedef enum { - prd_none, - prd_trace, - prd_breakpoint, - prd_watchpoint, - prd_subenter, - prd_subexit, // current invocation of PR_ExecuteProgram finished - prd_terminate, // not sent by VM - prd_runerror, - prd_error, // lower level error thann prd_runerror -} prdebug_t; - struct progs_s { int (*parse_field) (progs_t *pr, const char *key, const char *value);