private.h

Thu, 06 Feb 2014 14:16:13 +0000

author
tuomov
date
Thu, 06 Feb 2014 14:16:13 +0000
changeset 117
c7ad4b23a277
parent 112
ccc57312b8d0
permissions
-rw-r--r--

locale.h name seems to conflict with system locale.h name on some systems

/*
 * libtu/private.h
 *
 * Copyright (c) Tuomo Valkonen 2004. 
 *
 * You may distribute and modify this library under the terms of either
 * the Clarified Artistic License or the GNU LGPL, version 2.1 or later.
 */

#ifndef LIBTU_PRIVATE_H
#define LIBTU_PRIVATE_H

#ifndef CF_NO_GETTEXT

#include <libintl.h>

#define TR(X) dgettext("libtu", X)

#else

#define TR(X) (X)

#endif

#define DUMMY_TR(X) X

#endif /* LIBTU_PRIVATE_H */

mercurial