X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Ferror.c;h=ff3d00bbbbf4a8f73c86506406c66122d285fcec;hb=9811a0b1088004bf2b8631d22cc8a2626b15c3b4;hp=22352f533829003f6ae92c166810c67ea644f125;hpb=e49548d667f1da6462f1d3ea018a4f6ff75d4ae7;p=wimlib diff --git a/src/error.c b/src/error.c index 22352f53..ff3d00bb 100644 --- a/src/error.c +++ b/src/error.c @@ -16,7 +16,7 @@ * details. * * You should have received a copy of the GNU Lesser General Public License - * along with this file; if not, see http://www.gnu.org/licenses/. + * along with this file; if not, see https://www.gnu.org/licenses/. */ #ifdef HAVE_CONFIG_H @@ -68,7 +68,7 @@ wimlib_vmsg(const tchar *tag, const tchar *format, va_list va, bool perror) T("unknown error (errno=%d)"), errno_save); } - #ifdef WIN32 + #ifdef _WIN32 if (errno_save == EBUSY) tstrcpy(buf, T("Resource busy")); #endif @@ -149,7 +149,7 @@ wimlib_set_error_file_by_name(const tchar *path) { FILE *fp; -#ifdef __WIN32__ +#ifdef _WIN32 fp = win32_open_logfile(path); #else fp = fopen(path, "a");