--- portab.h 2003/02/18 15:48:15 1.46 +++ portab.h 2003/03/15 14:32:56 1.46.2.2 @@ -23,7 +23,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: portab.h,v 1.46 2003/02/18 15:48:15 chl Exp $ + * $Id: portab.h,v 1.46.2.2 2003/03/15 14:32:56 suxen_drol Exp $ * ****************************************************************************/ @@ -47,7 +47,9 @@ /* debug level for this library */ #ifdef _DEBUG -#define DPRINTF_LEVEL 0x000000ff +#ifndef DPRINTF_LEVEL +#define DPRINTF_LEVEL 0x8000000f +#endif #else #define DPRINTF_LEVEL 0 #endif @@ -134,8 +136,9 @@ char buf[DPRINTF_BUF_SZ]; va_start(args, fmt); vsprintf(buf, fmt, args); + strcat(buf,"\n"); OutputDebugString(buf); - fprintf(stderr, "%s\n", buf); + fputs(buf, stderr); } } # else