[vtorri patch] include fnmath code for mingw users

SVN revision: 37611
This commit is contained in:
Samuel F. Baggen 2008-11-13 20:53:16 +00:00
parent ca1c7d5bfc
commit fafeb1044d
4 changed files with 7 additions and 7 deletions

View File

@ -107,7 +107,7 @@ test_memcpy(suite *s)
memset (buf1, 0xa5, page_size);
memset (buf2, 0x5a, page_size);
for (i = 0; i < 18; ++i)
for (i = 0; i < 5; ++i)
{
test_memcpy_tests_run(s, 0, 0, 1 << i);
test_memcpy_tests_run(s, i, 0, 1 << i);

View File

@ -19,13 +19,13 @@ nobase_include_HEADERS = pwd.h sys/mman.h
if EVIL_HAVE_MINGW32CE
nobase_include_HEADERS += fnmatch.h errno.h
nobase_include_HEADERS += errno.h
endif
if ! EVIL_HAVE_CEGCC
nobase_include_HEADERS += dirent.h
nobase_include_HEADERS += fnmatch.h dirent.h
endif

View File

@ -1,4 +1,4 @@
#if defined (_MSC_VER) || defined (__MINGW32CE__)
#if defined (_MSC_VER) || defined (__MINGW32__) || defined (__MINGW32CE__)
#include <assert.h>
#include <string.h>
@ -228,4 +228,4 @@ fnmatch(const char *pattern,
return r;
}
#endif /* _MSC_VER || __MINGW32CE__ */
#endif /* _MSC_VER || __MINGW32__ || __MINGW32CE__ */

View File

@ -1,4 +1,4 @@
#if defined (_MSC_VER) || defined (__MINGW32CE__)
#if defined (_MSC_VER) || defined (__MINGW32__) || defined (__MINGW32CE__)
#include <assert.h>
#include <stdlib.h>
@ -73,4 +73,4 @@ fnmatch_list_of_states_clear(struct list_of_states *list)
memset(list->has, 0, list->reserved * sizeof (*list->has));
}
#endif /* _MSC_VER || __MINGW32CE__ */
#endif /* _MSC_VER || __MINGWCE__ || __MINGW32CE__ */