Overview
Comment: | Fix missing include and install OFComparable.h. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
5642f165197b4525d521cdf446827e09 |
User & Date: | js on 2009-02-14 17:16:36 |
Other Links: | manifest | tags |
Context
2009-02-14
| ||
17:26 |
Always use #include for libc headers due to glibc being broken. Do the same for win32 headers, just in case. They should work with #import, but you never know ;). check-in: 029511474c user: js tags: trunk | |
17:16 | Fix missing include and install OFComparable.h. check-in: 5642f16519 user: js tags: trunk | |
17:08 | Big diff, see details. check-in: 61a6ac873a user: js tags: trunk | |
Changes
Modified src/Makefile from [97d6293a2a] to [7edab9c3de].
︙ | ︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | OFString.m \ OFTCPSocket.m \ OFXMLFactory.m \ ${ASPRINTF} INCLUDESTMP = ${SRCS:.c=.h} INCLUDES = ${INCLUDESTMP:.m=.h} \ OFMacros.h \ OFStream.h include ../buildsys.mk CPPFLAGS += -I.. CFLAGS += ${LIB_CFLAGS} OBJCFLAGS += ${LIB_CFLAGS} LD = ${OBJC} LDFLAGS += ${LIB_LDFLAGS} | > | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | OFString.m \ OFTCPSocket.m \ OFXMLFactory.m \ ${ASPRINTF} INCLUDESTMP = ${SRCS:.c=.h} INCLUDES = ${INCLUDESTMP:.m=.h} \ OFComparable.h \ OFMacros.h \ OFStream.h include ../buildsys.mk CPPFLAGS += -I.. CFLAGS += ${LIB_CFLAGS} OBJCFLAGS += ${LIB_CFLAGS} LD = ${OBJC} LDFLAGS += ${LIB_LDFLAGS} |
Modified src/OFExceptions.m from [24b883adc0] to [56da576dd7].
︙ | ︙ | |||
26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #import <windows.h> #define GET_ERR GetLastError() #define GET_SOCK_ERR WSAGetLastError() #define ERRFMT "Error code was: %d" #define ERRPARAM err #endif #ifdef HAVE_OBJC_RUNTIME_H #import <objc/runtime.h> #endif #import "OFExceptions.h" #if defined(HAVE_SEL_GET_NAME) | > | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #import <windows.h> #define GET_ERR GetLastError() #define GET_SOCK_ERR WSAGetLastError() #define ERRFMT "Error code was: %d" #define ERRPARAM err #endif #import <objc/objc-api.h> #ifdef HAVE_OBJC_RUNTIME_H #import <objc/runtime.h> #endif #import "OFExceptions.h" #if defined(HAVE_SEL_GET_NAME) |
︙ | ︙ |