[llvm-commits] CVS: llvm/lib/CWriter/Writer.cpp

Nicholas Hildenbrandt hldnbrnd at cs.uiuc.edu
Fri Oct 11 13:42:01 PDT 2002


Changes in directory llvm/lib/CWriter:

Writer.cpp updated: 1.61 -> 1.62

---
Log message:

Sun requires you to include stdlib to use malloc


---
Diffs of the changes:

Index: llvm/lib/CWriter/Writer.cpp
diff -u llvm/lib/CWriter/Writer.cpp:1.61 llvm/lib/CWriter/Writer.cpp:1.62
--- llvm/lib/CWriter/Writer.cpp:1.61	Sat Oct  5 18:43:10 2002
+++ llvm/lib/CWriter/Writer.cpp	Fri Oct 11 13:41:44 2002
@@ -514,7 +514,7 @@
   }
 
   // printing stdlib inclusion
-  // Out << "#include <stdlib.h>\n";
+  Out << "#include <stdlib.h>\n";
 
   // get declaration for alloca
   Out << "/* Provide Declarations */\n"





More information about the llvm-commits mailing list