mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 13:10:39 +00:00
Check a Windows host by _WIN32 define, not WINDOWS_HOST
svn path=/trunk/; revision=28813
This commit is contained in:
parent
2260a4339e
commit
a864054304
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@
|
||||||
#define PATH_MAX _MAX_PATH
|
#define PATH_MAX _MAX_PATH
|
||||||
#endif//_MSC_VER
|
#endif//_MSC_VER
|
||||||
|
|
||||||
#ifndef WINDOWS_HOST
|
#ifndef _WIN32
|
||||||
#ifndef PATH_MAX
|
#ifndef PATH_MAX
|
||||||
#define PATH_MAX 260
|
#define PATH_MAX 260
|
||||||
#endif
|
#endif
|
||||||
|
@ -62,7 +62,7 @@ void convert_path(char *dst, char *src)
|
||||||
i = 0;
|
i = 0;
|
||||||
while (src[i] != 0)
|
while (src[i] != 0)
|
||||||
{
|
{
|
||||||
#ifdef WINDOWS_HOST
|
#ifdef _WIN32
|
||||||
if (src[i] == '/')
|
if (src[i] == '/')
|
||||||
{
|
{
|
||||||
dst[i] = '\\';
|
dst[i] = '\\';
|
||||||
|
|
Loading…
Reference in a new issue