Commit a276f750 authored by Raffaele Sandrini's avatar Raffaele Sandrini Committed by Raffaele Sandrini

do not add includes to oneself

2007-07-21 Raffaele Sandrini  <raffaele@sandrini.ch>

	* vala/valasourcefile.vala: do not add includes to oneself

svn path=/trunk/; revision=363
parent 6aa9f7de
2007-07-21 Raffaele Sandrini <raffaele@sandrini.ch>
* vala/valasourcefile.vala: do not add includes to oneself
2007-07-17 Jürg Billeter <j@bitron.ch>
* vala/valaarray.vala, vala/valadatatype.vala, vala/valapointer.vala:
......
......@@ -281,7 +281,10 @@ public class Vala.SourceFile {
* @param include internal include for C header file
*/
public void add_header_internal_include (string! include) {
header_internal_includes.append (include);
/* skip includes to self */
if (include != get_cinclude_filename ()) {
header_internal_includes.append (include);
}
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment