mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
fix linux build
svn path=/trunk/; revision=28642
This commit is contained in:
parent
247523e709
commit
72d3e9bd7e
2 changed files with 6 additions and 1 deletions
|
@ -278,6 +278,7 @@ namespace Sysreg_
|
|||
#ifdef __LINUX__
|
||||
cerr << "Error: reading from pipes is not supported with linux hosts - use stdio" << endl;
|
||||
return false;
|
||||
}
|
||||
#else
|
||||
pipe = pipe.substr(pos + 5, pipe.size() - pos - 5);
|
||||
pos = pipe.find(_T(" "));
|
||||
|
@ -816,7 +817,11 @@ namespace Sysreg_
|
|||
|
||||
if (!m_DataSource->readSource (vect))
|
||||
{
|
||||
#ifndef __LINUX__
|
||||
cerr << "No data read" << GetLastError() << endl;
|
||||
#else
|
||||
cerr << "No data read" << endl;
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
if (write_log)
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#define _tremove remove
|
||||
#define _ttoi atoi
|
||||
#define _T(x) x
|
||||
#define _tfopen _open
|
||||
#define _tfopen fopen
|
||||
#define _tcsstr strstr
|
||||
#define _fgetts fgets
|
||||
#define _tgetenv getenv
|
||||
|
|
Loading…
Reference in a new issue