From: Marc-André Moreau Date: Tue, 26 Mar 2013 19:02:33 +0000 (-0400) Subject: wfreerdp: fix build X-Git-Tag: 1.1.0-beta1+android3~31^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f69b8a22f851343e50f89d589b8502500cc2d00;p=platform%2Fupstream%2Ffreerdp.git wfreerdp: fix build --- diff --git a/winpr/include/winpr/path.h b/winpr/include/winpr/path.h index c94eb7c..d320ee1 100644 --- a/winpr/include/winpr/path.h +++ b/winpr/include/winpr/path.h @@ -254,10 +254,6 @@ WINPR_API PCWSTR PathGetSharedLibraryExtensionW(unsigned long dwFlags); * Shell Path Functions */ -#ifdef _WIN32 -#include -#endif - #define KNOWN_PATH_HOME 1 #define KNOWN_PATH_TEMP 2 #define KNOWN_PATH_XDG_DATA_HOME 3 @@ -269,7 +265,7 @@ WINPR_API char* GetKnownPath(int id); WINPR_API char* GetKnownSubPath(int id, char* path); WINPR_API char* GetCombinedPath(char* basePath, char* subPath); -#ifndef _WIN32 +//#ifndef _WIN32 WINPR_API BOOL PathFileExistsA(LPCSTR pszPath); WINPR_API BOOL PathFileExistsW(LPCWSTR pszPath); @@ -280,6 +276,6 @@ WINPR_API BOOL PathFileExistsW(LPCWSTR pszPath); #define PathFileExists PathFileExistsA #endif -#endif +//#endif #endif /* WINPR_PATH_H */ diff --git a/winpr/libwinpr/path/shell.c b/winpr/libwinpr/path/shell.c index 36d2c64..9d111de 100644 --- a/winpr/libwinpr/path/shell.c +++ b/winpr/libwinpr/path/shell.c @@ -297,7 +297,7 @@ char* GetCombinedPath(char* basePath, char* subPath) return path; } -#ifndef _WIN32 +//#ifndef _WIN32 BOOL PathFileExistsA(LPCSTR pszPath) { @@ -314,4 +314,4 @@ BOOL PathFileExistsW(LPCWSTR pszPath) return FALSE; } -#endif +//#endif