From: robertl Date: Mon, 19 Jul 2010 21:40:49 +0000 (+0000) Subject: Use explicit ascii version of movefile for build envs that default to windows X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~11^2~946 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c7f1723692e48285f93c84eb3df8bc4a90502555;p=gpsbabel.git Use explicit ascii version of movefile for build envs that default to windows bloaty strings. --- diff --git a/gpsbabel/kml.c b/gpsbabel/kml.c index 1ce8ff514..63ed99216 100644 --- a/gpsbabel/kml.c +++ b/gpsbabel/kml.c @@ -347,7 +347,7 @@ kml_wr_deinit(void) if (posnfilenametmp) { #if __WIN32__ - MoveFileEx(posnfilenametmp, posnfilename, + MoveFileExA(posnfilenametmp, posnfilename, MOVEFILE_REPLACE_EXISTING); #endif rename(posnfilenametmp, posnfilename);