mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
fix linux build
svn path=/trunk/; revision=28642
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user