Overview
| Comment: | OFAddressTranslationFailedException: Fix #ifdefs |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
050b7af83a899e23b6dabc6e82060a99 |
| User & Date: | js on 2015-05-03 11:46:50 |
| Other Links: | manifest | tags |
Context
|
2015-05-03
| ||
| 11:49 | configure: Include pthread.h before pthread_np.h (check-in: d1bcf6f643 user: js tags: trunk) | |
| 11:46 | OFAddressTranslationFailedException: Fix #ifdefs (check-in: 050b7af83a user: js tags: trunk) | |
| 11:34 | Check <= SSIZE_MAX before assignign to ssize_t (check-in: daf78156a7 user: js tags: trunk) | |
Changes
Modified src/exceptions/OFAddressTranslationFailedException.m from [99c1abc7ff] to [94c73dbbc8].
| ︙ | ︙ | |||
21 22 23 24 25 26 27 | #import "OFInitializationFailedException.h" #import "OFLockFailedException.h" #import "OFUnlockFailedException.h" #include "socket_helpers.h" | | | | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
#import "OFInitializationFailedException.h"
#import "OFLockFailedException.h"
#import "OFUnlockFailedException.h"
#include "socket_helpers.h"
#if !defined(HAVE_THREADSAFE_GETADDRINFO) && defined(OF_HAVE_THREADS)
# include "threading.h"
static of_mutex_t mutex;
#endif
@implementation OFAddressTranslationFailedException
#if !defined(HAVE_THREADSAFE_GETADDRINFO) && defined(OF_HAVE_THREADS)
+ (void)initialize
{
if (self != [OFAddressTranslationFailedException class])
return;
if (!of_mutex_new(&mutex))
@throw [OFInitializationFailedException exception];
|
| ︙ | ︙ |