For Griffin builds it is important this define does not get redefined

Note to Cthulhu: We should probably put this in a header file somewhere
This commit is contained in:
libretroadmin 2022-06-19 18:43:25 +02:00
parent 01eab0fba5
commit a06f3b98ce
2 changed files with 4 additions and 0 deletions

View File

@ -31,8 +31,10 @@
#include "natt.h"
#if defined(AF_INET6) && !defined(HAVE_SOCKET_LEGACY) && !defined(_3DS)
#ifndef HAVE_INET6
#define HAVE_INET6 1
#endif
#endif
static bool translate_addr(struct sockaddr_in *addr,
char *host, size_t hostlen, char *port, size_t portlen)

View File

@ -79,8 +79,10 @@
#include "netplay_private.h"
#if defined(AF_INET6) && !defined(HAVE_SOCKET_LEGACY) && !defined(_3DS)
#ifndef HAVE_INET6
#define HAVE_INET6 1
#endif
#endif
#ifdef TCP_NODELAY
#define SET_TCP_NODELAY(fd) \