mirror of
https://github.com/love2d/love.git
synced 2026-08-14 10:13:46 +02:00
luasocket: restore code to compile unix sockets on windows.
This commit is contained in:
@@ -12,7 +12,11 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <afunix.h>
|
||||
#else
|
||||
#include <sys/un.h>
|
||||
#endif
|
||||
|
||||
#define UNIXDGRAM_DATAGRAMSIZE 8192
|
||||
|
||||
|
||||
@@ -10,7 +10,12 @@
|
||||
#include "unixstream.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <afunix.h>
|
||||
#else
|
||||
#include <sys/un.h>
|
||||
#endif
|
||||
|
||||
/*=========================================================================*\
|
||||
* Internal function prototypes
|
||||
|
||||
Reference in New Issue
Block a user