Skip to content

Stop defining the now defunct _SYSTYPE_BSD#774

Merged
zakird merged 1 commit intozmap:mainfrom
droe:droe/remove-_SYSTYPE_BSD
Feb 7, 2024
Merged

Stop defining the now defunct _SYSTYPE_BSD#774
zakird merged 1 commit intozmap:mainfrom
droe:droe/remove-_SYSTYPE_BSD

Conversation

@droe
Copy link
Contributor

@droe droe commented Feb 7, 2024

This leftover bit was the result of a collision of two in-flight PRs. The last use of _SYSTYPE_BSD was removed along with libdnet in #772, while #771 at the same time added the -D_SYSTYPE_BSD to CMakeLists.txt in order to remove the need to manually define it when building.

_SYSTYPE_BSD is a rather archaic define. libdnet might have used it for compat with now historical systems/compilers, but I do not think it served any purpose beyond that. Certainly, modern FreeBSD, NetBSD and macOS do not reference it at all. It seems safe to remove.

This leftover bit was the result of a collision of two in-flight PRs.
The last use of _SYSTYPE_BSD was removed along with libdnet in zmap#772,
while zmap#771 concurrently added the -D_SYSTYPE_BSD to CMakeLists.txt.

_SYSTYPE_BSD is a rather archaic define.  libdnet might have used it for
compat with now historical systems/compilers, but I do not think it
served any purpose beyond that.  Certainly, modern FreeBSD, NetBSD and
macOS do not reference it.  It seems safe to remove.
@zakird zakird merged commit 7a3820d into zmap:main Feb 7, 2024
@droe droe deleted the droe/remove-_SYSTYPE_BSD branch March 11, 2024 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants