Commit 3b58d322 authored by Christophe Mutricy's avatar Christophe Mutricy

unicode.c: Fix WinCE build (well for this file only)

parent 04b1aea5
......@@ -32,14 +32,18 @@
#include <stdio.h>
#include <errno.h>
#include <sys/types.h>
#include <dirent.h>
#ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
#ifdef UNDER_CE
# include <tchar.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#ifndef HAVE_LSTAT
# define lstat( a, b ) stat(a, b)
#endif
#ifdef __APPLE__
/* Define this if the OS always use UTF-8 internally */
# define ASSUME_UTF8 1
......@@ -47,6 +51,7 @@
#if !(defined (WIN32) || defined (UNDER_CE) || defined (ASSUME_UTF8))
# define USE_ICONV 1
#error use iconv 1
#endif
#if defined (USE_ICONV) && !defined (HAVE_ICONV)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment