Преглед изворни кода

s-s-d: Use __sun instead of __sparc__ to define OSsunos

Erast Benson пре 18 година
родитељ
комит
ed0a16e521
3 измењених фајлова са 7 додато и 1 уклоњено
  1. 5 0
      ChangeLog
  2. 1 0
      THANKS
  3. 1 1
      utils/start-stop-daemon.c

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2008-03-15  Erast Benson  <erast@gnusolaris.org>
+
+	* utils/start-stop-daemon.c: Use __sun instead of __sparc__ to
+	define OSsunos.
+
 2008-03-15  Raphael Hertzog  <hertzog@debian.org>
 2008-03-15  Raphael Hertzog  <hertzog@debian.org>
 
 
 	* debian/dpkg.prerm: Removed as it's empty.
 	* debian/dpkg.prerm: Removed as it's empty.

+ 1 - 0
THANKS

@@ -44,6 +44,7 @@ David Lopez Moreno <david.lopez.moreno@hispalinux.es>
 Denis Barbier <barbier@debian.org>
 Denis Barbier <barbier@debian.org>
 Don Armstrong <don@debian.org>
 Don Armstrong <don@debian.org>
 Eddy Petrișor <eddy.petrisor@gmail.com>
 Eddy Petrișor <eddy.petrisor@gmail.com>
+Erast Benson <erast@gnusolaris.org>
 Erick Branderhorst <branderhorst@heel.fgg.eur.nl>
 Erick Branderhorst <branderhorst@heel.fgg.eur.nl>
 Flavio Stanchina <flavio@stanchina.net>
 Flavio Stanchina <flavio@stanchina.net>
 Frank S. Thomas <frank@thomas-alfeld.de>
 Frank S. Thomas <frank@thomas-alfeld.de>

+ 1 - 1
utils/start-stop-daemon.c

@@ -28,7 +28,7 @@
 #  define OSLinux
 #  define OSLinux
 #elif defined(__GNU__)
 #elif defined(__GNU__)
 #  define OSHURD
 #  define OSHURD
-#elif defined(__sparc__)
+#elif defined(__sun)
 #  define OSsunos
 #  define OSsunos
 #elif defined(OPENBSD) || defined(__OpenBSD__)
 #elif defined(OPENBSD) || defined(__OpenBSD__)
 #  define OSOpenBSD
 #  define OSOpenBSD