Changeset 4146a07
- Timestamp:
- 2005-12-17T01:25:32Z (19 years ago)
- Branches:
- master
- Children:
- 643dfc4
- Parents:
- bd69a21
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
rbd69a21 r4146a07 10 10 11 11 # Program variables 12 objects = account.o bitlbee.o commands.o crypting.o help.o ini.o irc.o log.onick.o query.o set.o url.o user.o storage_text.o storage.o12 objects = account.o bitlbee.o commands.o crypting.o help.o ini.o irc.o nick.o query.o set.o url.o user.o storage_text.o storage.o 13 13 subdirs = protocols 14 14 … … 16 16 objects += win32.o 17 17 else 18 objects += unix.o conf.o 18 objects += unix.o conf.o log.o 19 19 endif 20 20 -
bitlbee.h
rbd69a21 r4146a07 48 48 #include <stdio.h> 49 49 #include <ctype.h> 50 #include <errno.h> 51 50 52 #ifndef _WIN32 51 53 #include <syslog.h> 52 #include <errno.h>53 54 #endif 54 55 … … 75 76 #undef strncasecmp 76 77 #define strncasecmp __PLEASE_USE_G_STRNCASECMP_INSTEAD__ 77 78 #ifndef F_OK79 #define F_OK 080 #endif81 78 82 79 #define _( x ) x -
doc/BUILD.win32
rbd69a21 r4146a07 17 17 - nspr (in nspr/) 18 18 19 glib and gettext are only required for actually running BitlBee - building 20 should work fine without them. 21 19 22 3. Set the following variables in Makefile.settings, if you don't have the 20 23 libraries above installed in the default directories searched by MSVC: -
sock.h
rbd69a21 r4146a07 10 10 #else 11 11 # include <winsock2.h> 12 # ifndef _MSC_VER13 # include <ws2tcpip.h>14 # endif15 12 # if !defined(BITLBEE_CORE) && defined(_MSC_VER) 16 13 # pragma comment(lib,"bitlbee.lib") … … 19 16 # define read(a,b,c) recv(a,b,c,0) 20 17 # define write(a,b,c) send(a,b,c,0) 21 # define umask _umask22 # define mode_t int23 18 # define sock_make_nonblocking(fd) { int non_block = 1; ioctlsocket(fd, FIONBIO, &non_block); } 24 19 # define sockerr_again() (WSAGetLastError() == WSAEINTR || WSAGetLastError() == WSAEINPROGRESS || WSAGetLastError() == WSAEWOULDBLOCK) -
storage_text.c
rbd69a21 r4146a07 27 27 #include "bitlbee.h" 28 28 #include "crypting.h" 29 #ifdef _WIN32 30 # define umask _umask 31 # define mode_t int 32 #endif 33 34 #ifndef F_OK 35 #define F_OK 0 36 #endif 29 37 30 38 /* DO NOT USE THIS FUNCTION IN NEW CODE. This
Note: See TracChangeset
for help on using the changeset viewer.