[Kstars-devel] KDE/kdeedu/kstars/kstars/htmesh

Akarsh Simha akarshsimha at gmail.com
Tue Jul 14 14:58:30 CEST 2009


SVN commit 996458 by asimha:

Commiting patch from Debian:
http://svn.debian.org/viewsvn/pkg-kde/trunk/packages/kdeedu/debian/patches/00_kfreebsd.diff?revision=14624&view=markup

Many thanks to Sune Vuorela for bringing this to my attention.

Original commit log:

Thu May 14 20:50:08 2009 UTC (8 weeks, 4 days ago) by aurel32:

Test on __linux__ is wrong as the behaviour does not depends on the kernel
but on the userland, that is GNU libc, tested by __GLIBC__. Test on 
__FreeBSD__ and __NetBSD__ are correct though as they represent both the 
kernel and the userland.

The patch does not remove __linux__ in the patch to be as conservative as
possible.


CCMAIL: kstars-devel at kde.org



 M  +1 -1      SpatialGeneral.h  


--- trunk/KDE/kdeedu/kstars/kstars/htmesh/SpatialGeneral.h #996457:996458
@@ -80,7 +80,7 @@
 
 // emulate the standard bool type where not supported by compiler
 
-#  if !defined(SXGENERAL_H) && !defined(__sgi) && !defined(__linux__) && !defined(_WIN32) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
+#  if !defined(SXGENERAL_H) && !defined(__sgi) && !defined(__linux__) && !defined(_WIN32) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__GLIBC__)
 #    ifdef __unix__
 /*
  * The following ifndef must ALWAYS be present since C++ may use


More information about the Kstars-devel mailing list