Add patched copy of unifdef

The stock version of unifdef included with Xcode exits with code 1 if
changes were made, which goes against the Unix convention and
CMake's expectations.
This commit is contained in:
William Kent
2021-07-21 10:56:21 -04:00
parent 58c81413bd
commit 5ddcd99be9
3 changed files with 1237 additions and 0 deletions

View File

@@ -4,4 +4,5 @@ file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/prefix)
add_subdirectory(cctools)
add_subdirectory(dtrace_ctf)
add_subdirectory(mig)
add_subdirectory(unifdef)
add_subdirectory(xar)

View File

@@ -0,0 +1,2 @@
add_executable(unifdef)
target_sources(unifdef PRIVATE unifdef.c)

1234
tools/unifdef/unifdef.c Normal file

File diff suppressed because it is too large Load Diff