Convert all apertures and macros to inches during parsing, completing the storage...
[geda-gerbv.git] / src / common.h
blob658da9b1e665657e49e46df9578533258f15ab06
1 /*
2 * $Id$
4 * gEDA - GNU Electronic Design Automation
5 * This file is a part of gerbv.
7 * Copyright (C) 2007 Dan McMahill
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
23 #ifndef __COMMON_H__
24 #define __COMMON_H__
26 #ifdef HAVE_CONFIG_H
27 #include "config.h"
28 #endif
30 #ifndef __GNUC__
31 #define __FUNCTION1(a,b) a ":" #b
32 #define __FUNCTION2(a,b) __FUNCTION1(a,b)
33 #define __FUNCTION__ __FUNCTION2(__FILE__,__LINE__)
34 #endif
36 #endif /* __COMMON_H__ */