Annotation of ChivanetAimPidgin/oscarprpl/src/c/internal.h, revision 1.1.1.1

1.1       snw         1: #ifndef _OSCARPRPL_INTERNAL_H
                      2: #define _OSCARPRPL_INTERNAL_H
                      3: 
                      4: // NOTE: This was originally Pidgin's internal.h; but since we don't have access to that; we have shims here.
                      5: 
                      6: 
                      7: // NLS shims; we don't have them yet
                      8: #  include <locale.h>
                      9: #  define N_(String) (String)
                     10: #  ifndef _
                     11: #    define _(String) ((const char *)String)
                     12: #  endif
                     13: #  define ngettext(Singular, Plural, Number) ((Number == 1) ? ((const char *)Singular) : ((const char *)Plural))
                     14: #  define dngettext(Domain, Singular, Plural, Number) ((Number == 1) ? ((const char *)Singular) : ((const char *)Plural))
                     15: 
                     16: 
                     17: #define PURPLE_WEBSITE "http://pidgin.im/"
                     18: #define VERSION "2.13.0"
                     19: 
                     20: #define SIZEOF_TIME_T 8
                     21: 
                     22: #if SIZEOF_TIME_T == 4
                     23: #      define PURPLE_TIME_T_MODIFIER "lu"
                     24: #elif SIZEOF_TIME_T == 8
                     25: #      define PURPLE_TIME_T_MODIFIER "zu"
                     26: #endif
                     27: 
                     28: #define MSG_LEN 2048
                     29: /* The above should normally be the same as BUF_LEN,
                     30:  * but just so we're explicitly asking for the max message
                     31:  * length. */
                     32: #define BUF_LEN MSG_LEN
                     33: #define BUF_LONG BUF_LEN * 2
                     34: 
                     35: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>