Skip to content

Commit 65c982f

Browse files
committed
Is #752 - Replace _MSC_VER with _WIN32
1 parent 840b3f9 commit 65c982f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ static ctmbstr ExpandTilde( TidyDocImpl* doc, ctmbstr filename )
880880
if (home_dir) {
881881
++filename;
882882
}
883-
#ifdef _MSC_VER
883+
#ifdef _WIN32
884884
else if (strlen(filename) >= 3) { /* at least '~/+1' */
885885
/* no HOME env in Windows - got for HOMEDRIVE=C: HOMEPATH=\Users\user */
886886
char * hd = getenv("HOMEDRIVE");
@@ -895,7 +895,7 @@ static ctmbstr ExpandTilde( TidyDocImpl* doc, ctmbstr filename )
895895
}
896896

897897
}
898-
#endif /* _MSC_VER */
898+
#endif /* _WIN32 */
899899

900900
}
901901
#ifdef SUPPORT_GETPWNAM

0 commit comments

Comments
 (0)