Added support for gsinit packing.
[fw/sdcc] / src / SDCCglue.c
index effbdd6fc431dbeffa75d7eaa9e63ff33a8236a5..f378ab1af21b51a0091d0704ed3e2228fe7fc3fa 100644 (file)
@@ -1512,6 +1512,15 @@ glue ()
   applyToSet (tmpfileNameSet, rmTmpFiles);
 }
 
+#if defined (__MINGW32__) || defined (__CYGWIN__) || defined (_MSC_VER)
+void
+rm_tmpfiles (void)
+{
+  applyToSet (tmpfileSet, closeTmpFiles);
+  applyToSet (tmpfileNameSet, rmTmpFiles);
+}
+#endif
+
 /** Creates a temporary file a'la tmpfile which avoids the bugs
     in cygwin wrt c:\tmp.
     Scans, in order: TMP, TEMP, TMPDIR, else uses tmpfile().