mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3930 Octave : Add missing includes
This commit is contained in:
parent
f727a6c4ee
commit
897a20a3df
@ -6,6 +6,10 @@
|
||||
#include "riSettings.h"
|
||||
#include "RiaSocketDataTransfer.cpp" // NB! Include cpp-file to avoid linking of additional file in oct-compile configuration
|
||||
|
||||
#ifdef WIN32
|
||||
#include <Windows.h>
|
||||
#endif //WIN32
|
||||
|
||||
|
||||
void setEclipseProperty(const Matrix& propertyFrames, const QString &hostName, quint16 port,
|
||||
const qint64& caseId, QString propertyName, const int32NDArray& requestedTimeSteps, QString porosityModel)
|
||||
@ -92,7 +96,9 @@ void setEclipseProperty(const Matrix& propertyFrames, const QString &hostName, q
|
||||
#ifdef WIN32
|
||||
// TODO: Due to synchronization issues seen on Windows 10, it is required to do a sleep here to be able to catch disconnect
|
||||
// signals from the socket. No sleep causes the server to hang.
|
||||
|
||||
Sleep(100);
|
||||
|
||||
#endif //WIN32
|
||||
|
||||
return;
|
||||
|
@ -6,6 +6,10 @@
|
||||
#include "riSettings.h"
|
||||
#include "RiaSocketDataTransfer.cpp" // NB! Include cpp-file to avoid linking of additional file in oct-compile configuration
|
||||
|
||||
#ifdef WIN32
|
||||
#include <Windows.h>
|
||||
#endif //WIN32
|
||||
|
||||
|
||||
void setEclipseProperty(const NDArray& propertyFrames, const QString &hostName, quint16 port,
|
||||
const qint64& caseId, const qint64& gridIndex, QString propertyName, const int32NDArray& timeStepIndices, QString porosityModel)
|
||||
@ -114,7 +118,9 @@ void setEclipseProperty(const NDArray& propertyFrames, const QString &hostName,
|
||||
#ifdef WIN32
|
||||
// TODO: Due to synchronization issues seen on Windows 10, it is required to do a sleep here to be able to catch disconnect
|
||||
// signals from the socket. No sleep causes the server to hang.
|
||||
|
||||
Sleep(100);
|
||||
|
||||
#endif //WIN32
|
||||
|
||||
return;
|
||||
|
@ -6,6 +6,10 @@
|
||||
#include "riSettings.h"
|
||||
#include "RiaSocketDataTransfer.cpp" // NB! Include cpp-file to avoid linking of additional file in oct-compile configuration
|
||||
|
||||
#ifdef WIN32
|
||||
#include <Windows.h>
|
||||
#endif //WIN32
|
||||
|
||||
|
||||
void setNNCProperty(const Matrix& propertyFrames, const QString &hostName, quint16 port,
|
||||
const qint64& caseId, QString propertyName, const int32NDArray& requestedTimeSteps)
|
||||
@ -92,7 +96,9 @@ void setNNCProperty(const Matrix& propertyFrames, const QString &hostName, quint
|
||||
#ifdef WIN32
|
||||
// TODO: Due to synchronization issues seen on Windows 10, it is required to do a sleep here to be able to catch disconnect
|
||||
// signals from the socket. No sleep causes the server to hang.
|
||||
|
||||
Sleep(100);
|
||||
|
||||
#endif //WIN32
|
||||
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user