1 /* logreport.c: showing information to the user. */
2 
3 #ifdef HAVE_CONFIG_H
4 #include "config.h"
5 #endif /* Def: HAVE_CONFIG_H */
6 
7 #include "logreport.h"
8 #include "message.h"
9 
10 #ifdef _EXPORTING
11 /* Says whether to output detailed progress reports, i.e., all the data
12    on the fitting, as we run.  (-log)  */
13 FILE __declspec(dllexport) *log_file = NULL;
14 
15 #else
16 /* Says whether to output detailed progress reports, i.e., all the data
17    on the fitting, as we run.  (-log)  */
18 FILE *log_file = NULL;
19 
20 #endif
21 
22 void
flush_log_output(void)23 flush_log_output (void)
24 {
25   if (log_file)
26     fflush (log_file);
27 }
28 
29