[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegames/kspaceduel
From:       Adriaan de Groot <groot () kde ! org>
Date:       2009-12-14 15:14:53
Message-ID: 1260803693.146460.31183.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1062387 by adridg:

On some platforms, sun is a define, which screws up the declaration of sun as a variable

 M  +5 -0      structs.h  


--- trunk/KDE/kdegames/kspaceduel/structs.h #1062386:1062387
@@ -62,6 +62,11 @@
 const char predefinedConfigName[predefinedConfigNum][15]=
 {I18N_NOOP("Default"),I18N_NOOP("Bullet"),I18N_NOOP("Chaos"),I18N_NOOP("Lack of Energy")}; 
 
+// This is because on Solaris, sun is defined (it's the vendor)
+#ifdef sun
+#undef sun
+#endif
+
 struct AiSprite
 {
    double x,y,dx,dy;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic