Skip to content
Snippets Groups Projects
Commit aead60db authored by David Vasek's avatar David Vasek Committed by Daniel Salzman
Browse files

contrib/sockaddr: abandon __POSIX_VISIBLE define

Forced define of __POSIX_VISIBLE is no longer needed. Default
__POSIX_VISIBLE has been at least 200112 on all supported platforms
for many years. In fact, the default is much higher today.
parent 8030db87
No related branches found
No related tags found
No related merge requests found
Pipeline #68188 failed
......@@ -16,14 +16,6 @@
#pragma once
/* BSD IPv6 */
#ifndef __POSIX_VISIBLE
#define __POSIX_VISIBLE 200112
#ifdef __OpenBSD__
#define _BSD_SOURCE /* If __POSIX_VISIBLE is defined, OpenBSD needs this. */
#endif
#endif
#include <stdbool.h>
#include <sys/socket.h>
#include <sys/types.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment