Mercurial > vim
view src/xxd/Make_mvc.mak @ 24196:1040b294bfd3 v8.2.2639
patch 8.2.2639: build failure when fsync() is not available
Commit: https://github.com/vim/vim/commit/5ea79a2599d35f75e1ae8a75d2711c754c4cb7c4
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 22 16:45:35 2021 +0100
patch 8.2.2639: build failure when fsync() is not available
Problem: Build failure when fsync() is not available.
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 22 Mar 2021 17:00:03 +0100 |
parents | 590424e87b65 |
children | c9134a3ff7be |
line wrap: on
line source
# The most simplistic Makefile for Win32 using Microsoft Visual C++ # (NT and Windows 95) SUBSYSTEM = console !if "$(SUBSYSTEM_VER)" != "" SUBSYSTEM = $(SUBSYSTEM),$(SUBSYSTEM_VER) !endif xxd: xxd.exe xxd.exe: xxd.c cl /nologo -DWIN32 xxd.c -link -subsystem:$(SUBSYSTEM) # This was for an older compiler # cl /nologo -DWIN32 xxd.c /link setargv.obj clean: - if exist xxd.obj del xxd.obj - if exist xxd.exe del xxd.exe