mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 00:53:53 +02:00
2017-10-19 Fred Gleason <fredg@paravelsystems.com>
* Fixed bugs that broke the build under Windows.
This commit is contained in:
@@ -619,10 +619,10 @@ void RDConfig::load()
|
||||
//
|
||||
int sock=-1;
|
||||
|
||||
#ifndef WIN32
|
||||
if((sock=socket(PF_INET,SOCK_DGRAM,IPPROTO_IP))<0) {
|
||||
return;
|
||||
}
|
||||
#ifndef WIN32
|
||||
struct ifreq ifr;
|
||||
int index=0;
|
||||
|
||||
|
@@ -684,9 +684,10 @@ bool RDReport::generateReport(const QDate &startdate,const QDate &enddate,
|
||||
break;
|
||||
}
|
||||
#ifdef WIN32
|
||||
*out_path=RDDateDecode(exportPath(RDReport::Windows),startdate);
|
||||
*out_path=RDDateDecode(exportPath(RDReport::Windows),startdate,report_station,
|
||||
report_config,serviceName());
|
||||
QString post_cmd=RDDateDecode(postExportCommand(RDReport::Windows),startdate,
|
||||
report_config,serviceName());
|
||||
report_station,report_config,serviceName());
|
||||
#else
|
||||
*out_path=RDDateDecode(exportPath(RDReport::Linux),startdate,report_station,
|
||||
report_config,serviceName());
|
||||
|
Reference in New Issue
Block a user