mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
undoing the r3773-r3774 experiment.
This commit is contained in:
@@ -90,17 +90,6 @@ void tr_wait( uint64_t delay_milliseconds );
|
||||
****
|
||||
***/
|
||||
|
||||
#ifdef SYS_DARWIN
|
||||
#include <Foundation/NSException.h>
|
||||
#define assert(A) NSCParameterAssert(A)
|
||||
#else
|
||||
#include <assert.h>
|
||||
#endif
|
||||
|
||||
/***
|
||||
****
|
||||
***/
|
||||
|
||||
#define tr_new(struct_type, n_structs) \
|
||||
((struct_type *) tr_malloc (((size_t) sizeof (struct_type)) * ((size_t) (n_structs))))
|
||||
#define tr_new0(struct_type, n_structs) \
|
||||
|
||||
Reference in New Issue
Block a user