progress_get_streamless_path(const tchar *path)
{
tchar *cookie = NULL;
-#ifdef __WIN32__
+#ifdef _WIN32
cookie = (wchar_t *)path_stream_name(path);
if (cookie)
*--cookie = L'\0'; /* Overwrite the colon */
static inline tchar *
progress_get_win32_path(const tchar *path)
{
-#ifdef __WIN32__
+#ifdef _WIN32
if (!wcsncmp(path, L"\\??\\", 4)) {
((wchar_t *)path)[1] = L'\\';
return (wchar_t *)&path[1];
static inline void
progress_put_win32_path(tchar *cookie)
{
-#ifdef __WIN32__
+#ifdef _WIN32
if (cookie)
*cookie = L'?';
#endif
static inline void
progress_put_streamless_path(tchar *cookie)
{
-#ifdef __WIN32__
+#ifdef _WIN32
if (cookie)
*cookie = L':';
#endif