Skip to content

OS-specific conditional compilation #8

@blanu

Description

@blanu

The pcap library only compiles on Linux, so I have set up OS-specific conditional compilation for the libraries that depend on the pcap module.

However, I can't find any examples of how to do conditional compilation for executables and tests, so I am currently just commenting them out when I built on Windows or OS X. This is clearly not ideal, but the cabal documentation is somewhat lacking in this area.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions