ghci: Ensure that system libffi include path is searched
[ghc.git] / rts / ProfilerReport.h
index e2a1d53..66b602a 100644 (file)
@@ -6,8 +6,7 @@
  *
  * ---------------------------------------------------------------------------*/
 
-#ifndef PROFILER_REPORT_H
-#define PROFILER_REPORT_H
+#pragma once
 
 #include <stdio.h>
 
@@ -16,7 +15,7 @@
 
 #include "BeginPrivate.h"
 
-#ifdef PROFILING
+#if defined(PROFILING)
 
 void writeCCSReport( FILE *prof_file, CostCentreStack const *ccs,
                      ProfilerTotals totals );
@@ -24,5 +23,3 @@ void writeCCSReport( FILE *prof_file, CostCentreStack const *ccs,
 #endif
 
 #include "EndPrivate.h"
-
-#endif /* PROFILER_REPORT_H */