From 869fe242340fefe0540fdcf51698ba4c3c8c07bb Mon Sep 17 00:00:00 2001 From: jkar8572 Date: Fri, 23 Mar 2001 12:03:26 +0000 Subject: Initial revision --- pot.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pot.h (limited to 'pot.h') diff --git a/pot.h b/pot.h new file mode 100644 index 0000000..b50dc27 --- /dev/null +++ b/pot.h @@ -0,0 +1,24 @@ +#ifndef _POT_H +#define _POT_H + +#define __GETTEXT__ +/*************************************************************************** + * if you want to turn off gettext without changing sources + * undefine __GETTEXT__ + ***************************************************************************/ + +#ifdef __GETTEXT__ + +#include + +#define _(x) gettext((x)) + +void gettexton(void); + +#else + +#define _(x) (x) + +#endif + +#endif -- cgit v1.2.3