diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-05-13 13:43:57 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-05-13 13:43:57 +0000 |
commit | 2a943828287d2a861930d3facb2333c895ada205 (patch) | |
tree | 9e0cbd81f0b2e9f0d5739275507aea2ecb9115b8 /src/linux_compatibility.h | |
parent | 9a30a663e472774a45b78b3240f6a399637992fc (diff) | |
download | libbu++-2a943828287d2a861930d3facb2333c895ada205.tar.gz libbu++-2a943828287d2a861930d3facb2333c895ada205.tar.bz2 libbu++-2a943828287d2a861930d3facb2333c895ada205.tar.xz libbu++-2a943828287d2a861930d3facb2333c895ada205.zip |
Finally rearranged the system to put all compatability files in a directory
called compat. I've updated the linux and windows builds and it looks pretty
good. I also added a config.h file which we have to edit by hand until I can
work on build some more. Linux File operations now use 64 bit mode, windows
can't, or at least, I don't feel like researching it right now.
Diffstat (limited to 'src/linux_compatibility.h')
-rw-r--r-- | src/linux_compatibility.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/linux_compatibility.h b/src/linux_compatibility.h deleted file mode 100644 index ccc8536..0000000 --- a/src/linux_compatibility.h +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2007-2010 Xagasoft, All rights reserved. | ||
3 | * | ||
4 | * This file is part of the libbu++ library and is released under the | ||
5 | * terms of the license contained in the file LICENSE. | ||
6 | */ | ||
7 | |||
8 | #ifdef __linux__ | ||
9 | |||
10 | #define bu_inet_ntoa inet_ntoa | ||
11 | #define bu_inet_addr inet_addr | ||
12 | #define bu_select select | ||
13 | #define bu_socket socket | ||
14 | #define bu_shutdown shutdown | ||
15 | #define bu_htons htons | ||
16 | #define bu_htonl htonl | ||
17 | #define bu_gethostbyname gethostbyname | ||
18 | #define bu_freeaddrinfo freeaddrinfo | ||
19 | #define bu_getaddrinfo getaddrinfo | ||
20 | #define bu_connect connect | ||
21 | #define bu_getpeername getpeername | ||
22 | #define bu_setsockopt setsockopt | ||
23 | #define bu_bind bind | ||
24 | #define bu_listen listen | ||
25 | #define bu_accept accept | ||
26 | #define bu_send send | ||
27 | #define bu_recv recv | ||
28 | |||
29 | #define bu_gai_strerror gai_strerror | ||
30 | |||
31 | #endif | ||