Changeset 7844 for trunk/libtransmission/utils.h
- Timestamp:
- Feb 7, 2009, 2:46:43 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/utils.h
r7797 r7844 80 80 81 81 #if !defined( _ ) 82 #if defined( SYS_DARWIN ) 83 #define _( a ) ( a ) 84 #elif defined( HAVE_LIBINTL_H ) 82 #if defined( HAVE_LIBINTL_H ) && !defined( SYS_DARWIN ) 85 83 #include <libintl.h> 86 84 #define _( a ) gettext ( a ) … … 110 108 #else 111 109 #define tr_assert( test, fmt, ... ) \ 112 do { if( ! ( test ) ) tr_assertImpl( __FILE__, __LINE__, #test, fmt, __VA_ARGS__ ); } while( 0 )110 if( ! ( test ) ) tr_assertImpl( __FILE__, __LINE__, #test, fmt, __VA_ARGS__ ); 113 111 #endif 114 112
Note: See TracChangeset
for help on using the changeset viewer.