aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2001-05-21 21:50:47 +0000
committerFritz Elfert <felfert@to.com>2001-05-21 21:50:47 +0000
commit469d0a16138b683858a72e2d71e4abf8a7f9bc0f (patch)
tree64b535fdc730c1df1dea4eb776b41f28d5605f89 /include
parent0fed1cbff34d73a2580aafdc80f112c751990d8f (diff)
downloadplptools-469d0a16138b683858a72e2d71e4abf8a7f9bc0f.tar.gz
plptools-469d0a16138b683858a72e2d71e4abf8a7f9bc0f.tar.bz2
plptools-469d0a16138b683858a72e2d71e4abf8a7f9bc0f.zip
- Moved include/intl.h to lib/plpintl.h to fix compile of foreign progs.
- Some NLS-Related fixes
Diffstat (limited to 'include')
-rw-r--r--include/intl.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/include/intl.h b/include/intl.h
deleted file mode 100644
index f120e47..0000000
--- a/include/intl.h
+++ /dev/null
@@ -1,38 +0,0 @@
-#ifndef _INTL_H_
-#define _INTL_H_
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#ifndef HAVE_STPCPY
-#include <string.h>
-
-extern inline stpcpy(char *dest, const char *src) {
- char c;
- do {
- c = *dest++ = *src++;
- } while (c)
- return dest;
-}
-#endif
-
-#if defined(ENABLE_NLS) && defined(HAVE_GETTEXT)
-# include <libintl.h>
-# define N_(x) (x)
-# define _(x) gettext(x)
-# ifndef HAVE_BINDTEXTDOMAIN_CODESET
-# define bind_textdomain_codeset(p, c)
-# endif
-#else
-# define N_(x) (x)
-# define _(x) (x)
-# define textdomain(x)
-# define bind_textdomain_codeset(p, c)
-#endif
-
-/* Define this, if you have gettext */
-#define HAVE_GETTEXT 1
-
-#endif /* _INTL_H_ */
-