[banshee] windows: Build Nereid and Services with WIN32 defined
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] windows: Build Nereid and Services with WIN32 defined
- Date: Fri, 4 Feb 2011 16:20:09 +0000 (UTC)
commit 5edc55ce91265197b1cedc2c9cafbb3f8dc2300d
Author: Gabriel Burt <gabriel burt gmail com>
Date: Fri Feb 4 10:19:09 2011 -0600
windows: Build Nereid and Services with WIN32 defined
src/Clients/Nereid/Nereid.csproj | 1 +
.../Banshee.ServiceStack/Application.cs | 6 +++---
src/Core/Banshee.Services/Banshee.Services.csproj | 1 +
src/Hyena | 2 +-
4 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/src/Clients/Nereid/Nereid.csproj b/src/Clients/Nereid/Nereid.csproj
index 3323935..d8d984b 100644
--- a/src/Clients/Nereid/Nereid.csproj
+++ b/src/Clients/Nereid/Nereid.csproj
@@ -49,6 +49,7 @@
<Optimize>false</Optimize>
<ConsolePause>false</ConsolePause>
<Commandlineparameters>--debug --uninstalled</Commandlineparameters>
+ <DefineConstants>WIN32</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Windows' ">
<StartAction>Project</StartAction>
diff --git a/src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs b/src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs
index 5ec65c9..eeda040 100644
--- a/src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs
+++ b/src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs
@@ -92,9 +92,9 @@ namespace Banshee.ServiceStack
#if WIN32
// There are two sets of environement variables we need to impact with our LANG.
// refer to : http://article.gmane.org/gmane.comp.gnu.mingw.user/8272
- CultureInfo current_ci = CultureInfo.CurrentUICulture;
- string env = String.Concat ("LANG=", current_ci.TwoLetterISOLanguageName);
- Environment.SetEnvironmentVariable ("LANG", current_ci.TwoLetterISOLanguageName);
+ var lang_code = CultureInfo.CurrentUICulture.TwoLetterISOLanguageName;
+ string env = String.Concat ("LANG=", lang_code);
+ Environment.SetEnvironmentVariable ("LANG", lang_code);
_putenv (env);
#endif
diff --git a/src/Core/Banshee.Services/Banshee.Services.csproj b/src/Core/Banshee.Services/Banshee.Services.csproj
index 302bfac..b766ad7 100644
--- a/src/Core/Banshee.Services/Banshee.Services.csproj
+++ b/src/Core/Banshee.Services/Banshee.Services.csproj
@@ -35,6 +35,7 @@
<WarningLevel>4</WarningLevel>
<Optimize>false</Optimize>
<OutputPath>..\..\..\bin\bin</OutputPath>
+ <DefineConstants>WIN32</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
diff --git a/src/Hyena b/src/Hyena
index 5129fb8..6c5a803 160000
--- a/src/Hyena
+++ b/src/Hyena
@@ -1 +1 @@
-Subproject commit 5129fb8f61c94402ac96f9c52c172c81cedfdf63
+Subproject commit 6c5a803be087dcfe9ae021140053d1f8423dcfc2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]