wfreerdp: fix build
authorMarc-André Moreau <marcandre.moreau@gmail.com>
Tue, 26 Mar 2013 19:02:33 +0000 (15:02 -0400)
committerMarc-André Moreau <marcandre.moreau@gmail.com>
Tue, 26 Mar 2013 19:02:33 +0000 (15:02 -0400)
winpr/include/winpr/path.h
winpr/libwinpr/path/shell.c

index c94eb7c..d320ee1 100644 (file)
@@ -254,10 +254,6 @@ WINPR_API PCWSTR PathGetSharedLibraryExtensionW(unsigned long dwFlags);
  * Shell Path Functions
  */
 
-#ifdef _WIN32
-#include <shlwapi.h>
-#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 */
index 36d2c64..9d111de 100644 (file)
@@ -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