[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: mk_verilog_syms.c
User: werner
Date: 06/12/12 12:32:45
Modified: . Tag: autonumber mk_verilog_syms.c
Log:
sync autonumber branch with trunk
Revision Changes Path
No revision
No revision
1.5.4.1 +6 -0 eda/geda/gaf/gnetlist/utils/mk_verilog_syms.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: mk_verilog_syms.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gnetlist/utils/mk_verilog_syms.c,v
retrieving revision 1.5
retrieving revision 1.5.4.1
diff -u -b -r1.5 -r1.5.4.1
--- mk_verilog_syms.c 4 Feb 2005 23:14:31 -0000 1.5
+++ mk_verilog_syms.c 12 Dec 2006 17:32:45 -0000 1.5.4.1
@@ -46,6 +46,12 @@
#define CYAN 6
#define GREY 7
+/* __FUNCTION__ seems to be a gcc extension */
+#ifndef __GNUC__
+#define __FUNCTION1(a,b) a ":" #b
+#define __FUNCTION2(a,b) __FUNCTION1(a,b)
+#define __FUNCTION__ __FUNCTION2(__FILE__,__LINE__)
+#endif
/* external prototypes */
int GetStringDisplayLength(char *str,int font_size); /* char_width.c */
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs