Initial revision
[LeanCalc.git] / calc / calc / math_error.h
1 /*
2  * math_error - a simple libcalc math error routine
3  *
4  * Copyright (C) 1999  Landon Curt Noll
5  *
6  * Calc is open software; you can redistribute it and/or modify it under
7  * the terms of the version 2.1 of the GNU Lesser General Public License
8  * as published by the Free Software Foundation.
9  *
10  * Calc is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General
13  * Public License for more details.
14  *
15  * A copy of version 2.1 of the GNU Lesser General Public License is
16  * distributed with calc under the filename COPYING-LGPL.  You should have
17  * received a copy with calc; if not, write to Free Software Foundation, Inc.
18  * 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA.
19  *
20  * @(#) $Revision$
21  * @(#) $Id$
22  * @(#) $Source$
23  *
24  * Under source code control:   1997/03/23 18:37:10
25  * File existed as early as:    1997
26  *
27  * chongo <was here> /\oo/\     http://www.isthe.com/chongo/
28  * Share and enjoy!  :-)        http://www.isthe.com/chongo/tech/comp/calc/
29  */
30
31
32 #if !defined(__MATH_ERROR_H__)
33 #define __MATH_ERROR_H__
34
35
36 #if defined(CALC_SRC)   /* if we are building from the calc source tree */
37 # include "calc/win32dll.h"
38 #else
39 # include <calc/win32dll.h>
40 #endif
41
42
43 /*
44  * Global data definitions.
45  */
46 char calc_error[MAXERROR+1]; /* last calc error message */
47
48 extern DLL jmp_buf jmpbuf;              /* for errors */
49
50
51 #endif /* !__MATH_ERROR_H__ */