From: Tollef Fog Heen Date: Sun, 6 Dec 2009 21:34:35 +0000 (+0100) Subject: Print out \r\n on windows, not just \n X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;p=pkg-config Print out \r\n on windows, not just \n This should hopefully fix bug #17053 --- diff --git a/main.c b/main.c index df25aaa..b9442fc 100644 --- a/main.c +++ b/main.c @@ -645,7 +645,11 @@ main (int argc, char **argv) } if (need_newline) +#ifdef G_OS_WIN32 + printf ("\r\n"); +#else printf ("\n"); +#endif return 0; }