Skip to content
Snippets Groups Projects
Commit 30e575c7 authored by Martin Nilsson's avatar Martin Nilsson
Browse files

Only need to include pike_error.h once.

Rev: src/interpret.h:1.175
parent 7489bbd1
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
|| This file is part of Pike. For copyright information see COPYRIGHT. || This file is part of Pike. For copyright information see COPYRIGHT.
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| for more information. || for more information.
|| $Id: interpret.h,v 1.174 2008/04/20 13:00:16 grubba Exp $ || $Id: interpret.h,v 1.175 2008/06/29 12:06:03 nilsson Exp $
*/ */
#ifndef INTERPRET_H #ifndef INTERPRET_H
...@@ -124,7 +124,6 @@ extern struct op_2_f { ...@@ -124,7 +124,6 @@ extern struct op_2_f {
PMOD_EXPORT extern const char msg_stack_error[]; PMOD_EXPORT extern const char msg_stack_error[];
#define debug_check_stack() do{if(Pike_sp<Pike_interpreter.evaluator_stack)Pike_fatal(msg_stack_error);}while(0) #define debug_check_stack() do{if(Pike_sp<Pike_interpreter.evaluator_stack)Pike_fatal(msg_stack_error);}while(0)
#define check__positive(X,Y) if((X)<0) Pike_fatal Y #define check__positive(X,Y) if((X)<0) Pike_fatal Y
#include "pike_error.h"
#else #else
#define check__positive(X,Y) #define check__positive(X,Y)
#define debug_check_stack() #define debug_check_stack()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment