iconv-unix_unxcfg_h 907 B

1234567891011121314151617181920212223242526272829303132333435
  1. $OpenBSD: iconv-unix_unxcfg_h,v 1.1 2015/05/11 21:19:23 czarkoff Exp $
  2. --- unix/unxcfg.h.orig Sat May 9 13:30:11 2015
  3. +++ unix/unxcfg.h Sat May 9 13:31:20 2015
  4. @@ -229,4 +229,30 @@ typedef struct stat z_stat;
  5. /* wild_dir, dirname, wildname, matchname[], dirnamelen, have_dirname, */
  6. /* and notfirstcall are used by do_wild(). */
  7. +
  8. +#define MAX_CP_NAME 25
  9. +
  10. +#ifdef SETLOCALE
  11. +# undef SETLOCALE
  12. +#endif
  13. +#define SETLOCALE(category, locale) setlocale(category, locale)
  14. +#include <locale.h>
  15. +
  16. +#ifdef _ISO_INTERN
  17. +# undef _ISO_INTERN
  18. +#endif
  19. +#define _ISO_INTERN(str1) iso_intern(str1)
  20. +
  21. +#ifdef _OEM_INTERN
  22. +# undef _OEM_INTERN
  23. +#endif
  24. +#ifndef IZ_OEM2ISO_ARRAY
  25. +# define IZ_OEM2ISO_ARRAY
  26. +#endif
  27. +#define _OEM_INTERN(str1) oem_intern(str1)
  28. +
  29. +void iso_intern(char *);
  30. +void oem_intern(char *);
  31. +void init_conversion_charsets(void);
  32. +
  33. #endif /* !__unxcfg_h */