DXF: ensure "C" language environment.

This commit is contained in:
Cirilo Bernardo 2017-10-02 00:09:09 +00:00 committed by Maciej Suminski
parent a3dfd2c0dd
commit 949b4754e5
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@
#include <class_edge_mod.h> #include <class_edge_mod.h>
#include <class_pcb_text.h> #include <class_pcb_text.h>
#include <class_text_mod.h> #include <class_text_mod.h>
#include "common.h"
#include <drw_base.h> #include <drw_base.h>
// minimum bulge value before resorting to a line segment; // minimum bulge value before resorting to a line segment;
@ -91,6 +92,7 @@ int DXF2BRD_CONVERTER::mapDim( double aDxfValue )
bool DXF2BRD_CONVERTER::ImportDxfFile( const wxString& aFile ) bool DXF2BRD_CONVERTER::ImportDxfFile( const wxString& aFile )
{ {
LOCALE_IO locale;
dxfRW* dxf = new dxfRW( aFile.ToUTF8() ); dxfRW* dxf = new dxfRW( aFile.ToUTF8() );
bool success = dxf->read( this, true ); bool success = dxf->read( this, true );