mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
23 lines
368 B
C
23 lines
368 B
C
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
|
|
#include <precomp.h>
|
|
|
|
#ifdef perror
|
|
#undef perror
|
|
void perror(const char *s);
|
|
#endif
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
void perror(const char *s)
|
|
{
|
|
fprintf(stderr, "%s: %s\n", s, _strerror(NULL));
|
|
}
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
void _wperror(const wchar_t *s)
|
|
{
|
|
fwprintf(stderr, L"%s: %S\n", s, _strerror(NULL));
|
|
}
|