Differences From Artifact [bdb764e78a]:
- File src/OFExceptions.m — part of check-in [b5ea1b43c4] at 2008-12-13 15:08:22 on branch trunk — One new exception; fix one FIXME in OFTCPSocket. (user: js, size: 7828) [annotate] [blame] [check-ins using]
To Artifact [fe916bd7cf]:
- File src/OFExceptions.m — part of check-in [142572f90b] at 2008-12-13 19:25:35 on branch trunk — Initial attempt to port to win32. (user: js, size: 7879) [annotate] [blame] [check-ins using]
︙ | |||
23 24 25 26 27 28 29 30 31 32 33 34 35 36 | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | + + + + | #if defined HAVE_SEL_GET_NAME #define SEL_NAME(x) sel_get_name(x) #elif defined HAVE_SEL_GETNAME #define SEL_NAME(x) sel_getName(x) #else #error "You need either sel_get_name() or sel_getName!" #endif #ifndef HAVE_ASPRINTF #import "asprintf.h" #endif @implementation OFException + newWithObject: (id)obj { return [[self alloc] initWithObject: obj]; } |
︙ |