Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitern committed Jul 31, 2022
1 parent f35be69 commit d436ac2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions xmlstarlet/build_msvc.bat
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,10 @@ rem Patch the win32config.h / config.h to make it compatible with VS 2015+ (libx
type ..\include\win32config.h | sed -e "s/#define snprintf _snprintf//g" > ..\include\win32config.h.patch
copy ..\include\win32config.h.patch ..\include\win32config.h
del ..\include\win32config.h.patch
type ..\include\win32config.h

type VC10\config.h | sed -e "s/#define snprintf _snprintf//g" > VC10\config.h.patch
copy VC10\config.h.patch VC10\config.h
del VC10\config.h.patch
type VC10\config.h
type ..\config.h | sed -e "s/#define snprintf _snprintf//g" > ..\config.h.patch
copy ..\config.h.patch ..\config.h
del ..\config.h.patch

nmake all
nmake install
Expand Down

0 comments on commit d436ac2

Please sign in to comment.