WINPR_API BOOL PathMakePathA(LPCSTR path, LPSECURITY_ATTRIBUTES lpAttributes);
-#ifndef WIN32
+#if !defined(_WIN32) || defined(_UWP)
+
WINPR_API BOOL PathFileExistsA(LPCSTR pszPath);
WINPR_API BOOL PathFileExistsW(LPCWSTR pszPath);
+
+#ifdef UNICODE
+#define PathFileExists PathFileExistsW
+#else
+#define PathFileExists PathFileExistsA
+#endif
+
#endif
#ifdef __cplusplus
}
#endif
-#ifdef WIN32
+#ifdef _WIN32
#include <Shlwapi.h>
-#else
-#ifdef UNICODE
-#define PathFileExists PathFileExistsW
-#else
-#define PathFileExists PathFileExistsA
-#endif
#endif
#endif /* WINPR_PATH_H */