[vtorri patch] include fnmath code for mingw users
SVN revision: 37611
This commit is contained in:
parent
ca1c7d5bfc
commit
fafeb1044d
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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__ */
|
||||
|
|
|
@ -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__ */
|
||||
|
|
Loading…
Reference in New Issue