#include "ucdata.h"
+#ifdef WIN32
+#define UC_DIRSEP '\\'
+#else
+#define UC_DIRSEP '/'
+#endif
+
/**************************************************************************
*
* Miscellaneous types, data, and support functions.
pp = path;
while (*dp && *dp != ':')
*pp++ = *dp++;
- *pp++ = '/';
+ *pp++ = UC_DIRSEP;
fp = filename;
while (*fp)
{
long l, r, m;
+ if (_ucprop_size == 0)
+ return 0;
+
/*
* There is an extra node on the end of the offsets to allow this routine
* to work right. If the index is 0xffff, then there are no nodes for the