2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
* include/inttypes.h include/math.h include/stdio.h include/stdlib.h include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard to all inline functions.
This commit is contained in:
@ -38,11 +38,13 @@ int __cdecl __MINGW_NOTHROW usleep(useconds_t useconds);
|
||||
|
||||
/* This is defined as a real library function to allow autoconf
|
||||
to verify its existence. */
|
||||
#ifndef __NO_INLINE__
|
||||
int ftruncate(int, off_t);
|
||||
__CRT_INLINE int ftruncate(int __fd, off_t __length)
|
||||
{
|
||||
return _chsize (__fd, __length);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Reference in New Issue
Block a user