[llvm-commits] CVS: llvm/lib/Reoptimizer/Inst/rtl/Makefile pprtl.h

Joel Stanley jstanley at cs.uiuc.edu
Thu May 22 08:17:01 PDT 2003


Changes in directory llvm/lib/Reoptimizer/Inst/rtl:

Makefile updated: 1.1 -> 1.2
pprtl.h updated: 1.1 -> 1.2

---
Log message:



---
Diffs of the changes:

Index: llvm/lib/Reoptimizer/Inst/rtl/Makefile
diff -u llvm/lib/Reoptimizer/Inst/rtl/Makefile:1.1 llvm/lib/Reoptimizer/Inst/rtl/Makefile:1.2
--- llvm/lib/Reoptimizer/Inst/rtl/Makefile:1.1	Thu May 22 08:08:58 2003
+++ llvm/lib/Reoptimizer/Inst/rtl/Makefile	Thu May 22 08:16:40 2003
@@ -1,5 +1,6 @@
 LEVEL = ../../../..
 LIBRARYNAME = pprtl
 BUILD_ARCHIVE = 1
+CXXFLAGS += -D_BUILDING_RUNTIME_LIBRARY_
 
 include $(LEVEL)/Makefile.common


Index: llvm/lib/Reoptimizer/Inst/rtl/pprtl.h
diff -u llvm/lib/Reoptimizer/Inst/rtl/pprtl.h:1.1 llvm/lib/Reoptimizer/Inst/rtl/pprtl.h:1.2
--- llvm/lib/Reoptimizer/Inst/rtl/pprtl.h:1.1	Thu May 22 08:08:59 2003
+++ llvm/lib/Reoptimizer/Inst/rtl/pprtl.h	Thu May 22 08:16:40 2003
@@ -6,7 +6,9 @@
 #include <sys/time.h>
 #include <stdio.h>
 
+#ifdef _BUILDING_RUNTIME_LIBRARY_
 extern "C" {
+#endif
     
     // library functions
 
@@ -20,6 +22,9 @@
     void     pp_regionPair(void*, void*);
     void     pp_metricSpec(void*);
 
+
+#ifdef _BUILDING_RUNTIME_LIBRARY_
 }
+#endif
 
 #endif // _INCLUDED_PPLIB_H





More information about the llvm-commits mailing list