aboutsummaryrefslogtreecommitdiff
path: root/src/linux_compatibility.h
diff options
context:
space:
mode:
authorDavid <david@xagasoft.com>2009-01-21 03:51:50 +0000
committerDavid <david@xagasoft.com>2009-01-21 03:51:50 +0000
commitb94a6a42c1024c00fab7b678cccaecfaa7604d56 (patch)
treee6beea01ee74c35bd7dcc54313ea727e02b87b48 /src/linux_compatibility.h
parente27a084118b8810b6bd442c560df46ce161a9a87 (diff)
downloadlibbu++-b94a6a42c1024c00fab7b678cccaecfaa7604d56.tar.gz
libbu++-b94a6a42c1024c00fab7b678cccaecfaa7604d56.tar.bz2
libbu++-b94a6a42c1024c00fab7b678cccaecfaa7604d56.tar.xz
libbu++-b94a6a42c1024c00fab7b678cccaecfaa7604d56.zip
david - needed to actually import the shutdown function from the winsock dll..
Diffstat (limited to 'src/linux_compatibility.h')
-rw-r--r--src/linux_compatibility.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/linux_compatibility.h b/src/linux_compatibility.h
index 6d3d85e..5d2df1b 100644
--- a/src/linux_compatibility.h
+++ b/src/linux_compatibility.h
@@ -4,6 +4,7 @@
4#define bu_inet_addr inet_addr 4#define bu_inet_addr inet_addr
5#define bu_select select 5#define bu_select select
6#define bu_socket socket 6#define bu_socket socket
7#define bu_shutdown shutdown
7#define bu_htons htons 8#define bu_htons htons
8#define bu_htonl htonl 9#define bu_htonl htonl
9#define bu_gethostbyname gethostbyname 10#define bu_gethostbyname gethostbyname