Mercurial > dwindows
diff compat.c @ 647:f09977bc9b5c
Fixed building with Visual Studio 2008.
Fixed a conflict with a C library function _free_locale and switched back to linking with the static library.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 19 Feb 2011 00:00:19 +0000 |
parents | d7c338ac926a |
children | 3e2ada9ee0ac |
line wrap: on
line diff
--- a/compat.c Fri Feb 18 13:30:43 2011 +0000 +++ b/compat.c Sat Feb 19 00:00:19 2011 +0000 @@ -651,7 +651,7 @@ static int locale_number = -1, locale_count = 0; static char **locale_text = NULL; -void _free_locale(void) +void _compat_free_locale(void) { if(locale_text) { @@ -720,7 +720,7 @@ static char text[1025]; int count = 0; - _free_locale(); + _compat_free_locale(); if(fp) {