Skip to content
Snippets Groups Projects
Commit 25e72479 authored by deuce's avatar deuce
Browse files

Do horrible demeaning things to work around broken Borland header file.

parent b1a371be
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,24 @@
#include "sockwrap.h"
#include "threadwrap.h"
#ifdef _WIN32
#undef socklen_t
// Borland hack (broken header)
#ifdef __BORLANDC__
#define _MSC_VER 1
#endif
#include "ws2tcpip.h"
#ifdef __BORLANDC__
#undef _MSC_VER
#endif
#ifndef AI_ADDRCONFIG
#define AI_ADDRCONFIG 0x0400 // Vista or later.
#endif
#ifndef AI_NUMERICSERV
#define AI_NUMERICSERV 0 // No supported by Windows
#endif
#endif
#include "bbslist.h"
#include "uifcinit.h"
#include "conn.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