Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(sysctl): consolidate platform-specific syscall files #1071

Merged
merged 3 commits into from
May 13, 2024

Commits on Apr 29, 2024

  1. refactor(mdns): consolidate platform-specific syscall files

    - Rename `syscall_linux.go` to `syscall.go` with build constraints for non-BSD and non-Windows platforms.
    - Merge `syscall_darwin.go` into `syscall_bsd.go` and adjust build constraints for BSD platforms (Darwin, FreeBSD, OpenBSD).
    - Remove redundant `syscall_freebsd.go`.
    - Add build constraints to `syscall_windows.go` for Windows platform.
    skrashevich committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    e080eac View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

  1. refactor(ffmpeg): generalize device and hardware support for multiple OS

    - Rename `device_freebsd.go` to `device_bsd.go` and `hardware_freebsd.go` to `hardware_bsd.go` to reflect broader BSD support (FreeBSD, NetBSD, OpenBSD, Dragonfly).
    - Update build tags in `device_bsd.go` and `hardware_bsd.go` to include FreeBSD, NetBSD, OpenBSD, and Dragonfly.
    - Rename `device_linux.go` to `device_unix.go` and `hardware_linux.go` to `hardware_unix.go` to generalize Unix support excluding Darwin-based systems and BSDs.
    - Add specific build tags to `device_darwin.go`, `device_unix.go`, `hardware_darwin.go`, and `hardware_unix.go` to correctly target their respective operating systems.
    - Ensure Windows-specific files (`device_windows.go` and `hardware_windows.go`) are correctly tagged for building on Windows.
    skrashevich committed May 1, 2024
    Configuration menu
    Copy the full SHA
    abe617a View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Configuration menu
    Copy the full SHA
    f158ffb View commit details
    Browse the repository at this point in the history