Make Windows cross compile again

But this is broken as the utf8/utf16 conversions in windows.c are gone
without glib.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-10-06 21:04:25 -07:00
parent 34db6dc2be
commit 475e058d40
5 changed files with 39 additions and 18 deletions

View file

@ -148,9 +148,11 @@ static int number_of_file(char *path)
dirp = opendir(path);
while ((entry = readdir(dirp)) != NULL) {
if (entry->d_type == DT_REG) { /* If the entry is a regular file */
#ifndef WIN32
if (entry->d_type == DT_REG) /* If the entry is a regular file */
#endif
count++;
}
}
closedir(dirp);
return count;