From bd95435fafa93672f8a33c8f71fd20bf9b0685f7 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Fri, 25 Jan 2013 16:55:34 +0000 Subject: [PATCH] build: fix LolFx rule for MSBuild again. --- build/vs2010/Lol.Fx.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/vs2010/Lol.Fx.props b/build/vs2010/Lol.Fx.props index 07bcfb28..758a3f70 100644 --- a/build/vs2010/Lol.Fx.props +++ b/build/vs2010/Lol.Fx.props @@ -14,7 +14,7 @@ @echo off set D=$(IntDir)%(Filename)%(Extension).cpp echo /* This file was autogenerated. DO NOT MODIFY IT. */ > "%D%" -echo char const *lolfx_resource_%(Filename) = >> "%D%" +echo extern "C" { char const *lolfx_resource_%(Filename) = >> "%D%" setlocal disabledelayedexpansion for /F "tokens=1,* delims=`" %%L in ('type "%(Fullpath)"') do ( set "line=%%L" @@ -23,7 +23,7 @@ for /F "tokens=1,* delims=`" %%L in ('type "%(Fullpath)"') do ( endlocal ) endlocal -echo ; >> "%D%" +echo ;} >> "%D%" $(IntDir)%(FileName)%(Extension).cpp %(FileName)%(Extension)