# HG changeset patch # User Edouard Tisserant # Date 1362367369 -32400 # Node ID 1fb6cf5a4c4d93c623d9f25d721773eee3cc3bfe # Parent c1f901403a347aca2752a658b8208ff2d5265558 Fixed dead code in c_ext, and updated test accordingly diff -r c1f901403a34 -r 1fb6cf5a4c4d c_ext/c_ext.py --- a/c_ext/c_ext.py Thu Feb 28 00:20:05 2013 +0100 +++ b/c_ext/c_ext.py Mon Mar 04 12:22:49 2013 +0900 @@ -184,14 +184,7 @@ text += self.CFile.includes.gettext() text += "\n" - text += """/* Beremiz c_ext confnode includes */ -#ifdef _WINDOWS_H - #include "iec_types.h" -#else - #include "iec_std_lib.h" -#endif - -""" + text += '#include "iec_types.h"' # Adding variables vars = [] diff -r c1f901403a34 -r 1fb6cf5a4c4d tests/python/c_code@c_ext/cfile.xml --- a/tests/python/c_code@c_ext/cfile.xml Thu Feb 28 00:20:05 2013 +0100 +++ b/tests/python/c_code@c_ext/cfile.xml Mon Mar 04 12:22:49 2013 +0900 @@ -1,7 +1,7 @@ - +