]> wimlib.net Git - wimlib/blobdiff - src/error.c
mount_image.c: add fallback definitions of RENAME_* constants
[wimlib] / src / error.c
index 22352f533829003f6ae92c166810c67ea644f125..ff3d00bbbbf4a8f73c86506406c66122d285fcec 100644 (file)
@@ -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");