* as/hc08/asmain.c (asexit),
[fw/sdcc] / support / librarian / sdcclib.c
index 70d1bda67935220c6c80b2e33f7be74a27509d76..80aedc10ef40d8142aa1fe4391d9462d98072399 100644 (file)
@@ -367,8 +367,8 @@ void AddRel(void)
     fclose(lib);
     fclose(libindex);
 
-    unlink(LibNameTmp);
-    unlink(IndexName);
+    remove(LibNameTmp);
+    remove(IndexName);
 }
 
 void ExtractRel(void)