[haiku-commits] haiku: hrev47200 - src/apps/aboutsystem

  • From: jessica.l.hamilton@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 4 May 2014 07:26:15 +0200 (CEST)

hrev47200 adds 1 changeset to branch 'master'
old head: c545f253e1032459958d58a23d735f352ea2f872
new head: 0427af0c09f1aa862f1142036ffdbe16958f766d
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=0427af0+%5Ec545f25

----------------------------------------------------------------------------

0427af0: AboutSystem: fix the build when firmware not included.

                         [ Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev47200
Commit:      0427af0c09f1aa862f1142036ffdbe16958f766d
URL:         http://cgit.haiku-os.org/haiku/commit/?id=0427af0
Author:      Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx>
Date:        Sun May  4 05:24:42 2014 UTC

----------------------------------------------------------------------------

1 file changed, 4 insertions(+), 2 deletions(-)
src/apps/aboutsystem/AboutSystem.cpp | 6 ++++--

----------------------------------------------------------------------------

diff --git a/src/apps/aboutsystem/AboutSystem.cpp 
b/src/apps/aboutsystem/AboutSystem.cpp
index 6b73fe4..868a48e 100644
--- a/src/apps/aboutsystem/AboutSystem.cpp
+++ b/src/apps/aboutsystem/AboutSystem.cpp
@@ -90,12 +90,14 @@ static const char* kGPLv2 = B_TRANSLATE_MARK("GNU GPL v2");
 static const char* kGPLv3 = B_TRANSLATE_MARK("GNU GPL v3");
 static const char* kLGPLv2 = B_TRANSLATE_MARK("GNU LGPL v2");
 static const char* kLGPLv21 = B_TRANSLATE_MARK("GNU LGPL v2.1");
+static const char* kMITNoPromotion = B_TRANSLATE_MARK("MIT (no promotion)");
+static const char* kPublicDomain = B_TRANSLATE_MARK("Public Domain");
+#ifdef __INTEL__
 static const char* kIntel2xxxFirmware = B_TRANSLATE_MARK("Intel (2xxx 
firmware)");
 static const char* kIntelFirmware = B_TRANSLATE_MARK("Intel (firmware)");
 static const char* kMarvellFirmware = B_TRANSLATE_MARK("Marvell (firmware)");
-static const char* kMITNoPromotion = B_TRANSLATE_MARK("MIT (no promotion)");
-static const char* kPublicDomain = B_TRANSLATE_MARK("Public Domain");
 static const char* kRalinkFirmware = B_TRANSLATE_MARK("Ralink (firmware)");
+#endif
 
 typedef struct
 {


Other related posts:

  • » [haiku-commits] haiku: hrev47200 - src/apps/aboutsystem - jessica . l . hamilton