--- 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 = []
--- 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 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<CFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="cext_xsd.xsd">
<includes>
-<![CDATA[]]>
+<![CDATA[#include "stdio.h"]]>
</includes>
<variables>
<variable name="TestInput" type="SINT" class="input"/>