mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-15 07:14:50 +02:00
Add support for new LIBBSD_VIS_OPENBSD selection macro
This will make it possible to explicitly select the OpenBSD vis implementation (the current default) for code of OpenBSD origins.
This commit is contained in:
@@ -24,12 +24,11 @@
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#define LIBBSD_OPENBSD_VIS 1
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wcpp"
|
||||
#include <vis.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
|
Reference in New Issue
Block a user