* mingwex/fegetenv.c: Change to \n line endings.
* mingwex/vsnprintf.c: Ditto. * mingwex/vsnwprintf.c: Ditto.
This commit is contained in:
parent
1730adee69
commit
31736d1768
|
@ -1,3 +1,9 @@
|
|||
2002-09-05 Earnie Boyd <earnie@users.sf.net>
|
||||
|
||||
* mingwex/fegetenv.c: Change to \n line endings.
|
||||
* mingwex/vsnprintf.c: Ditto.
|
||||
* mingwex/vsnwprintf.c: Ditto.
|
||||
|
||||
2002-09-02 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* mingwex/math/hypotl.c: Replace with version based on cephes
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
#include <fenv.h>
|
||||
|
||||
/* 7.6.4.1
|
||||
The fegetenv function stores the current floating-point environment
|
||||
in the object pointed to by envp. */
|
||||
|
||||
int fegetenv (fenv_t * envp)
|
||||
{
|
||||
__asm__ ("fnstenv %0;": "=m" (*envp));
|
||||
return 0;
|
||||
}
|
||||
|
||||
#include <fenv.h>
|
||||
|
||||
/* 7.6.4.1
|
||||
The fegetenv function stores the current floating-point environment
|
||||
in the object pointed to by envp. */
|
||||
|
||||
int fegetenv (fenv_t * envp)
|
||||
{
|
||||
__asm__ ("fnstenv %0;": "=m" (*envp));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int vsnprintf (char* s, size_t n, const char* format, va_list arg)
|
||||
{ return _vsnprintf ( s, n, format, arg); }
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int vsnprintf (char* s, size_t n, const char* format, va_list arg)
|
||||
{ return _vsnprintf ( s, n, format, arg); }
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include <stdarg.h>
|
||||
#include <wchar.h>
|
||||
|
||||
int vsnwprintf(wchar_t *buffer, size_t n, const wchar_t * format, va_list argptr)
|
||||
{ return _vsnwprintf( buffer, n, format, argptr );}
|
||||
#include <stdarg.h>
|
||||
#include <wchar.h>
|
||||
|
||||
int vsnwprintf(wchar_t *buffer, size_t n, const wchar_t * format, va_list argptr)
|
||||
{ return _vsnwprintf( buffer, n, format, argptr );}
|
||||
|
|
Loading…
Reference in New Issue