gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r10730: Add boilerplate, correct hea


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10730: Add boilerplate, correct headers, and gnashconfig.h.
Date: Thu, 19 Mar 2009 19:47:52 +0100
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10730
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Thu 2009-03-19 19:47:52 +0100
message:
  Add boilerplate, correct headers, and gnashconfig.h.
modified:
  libbase/GnashNumeric.h
  libbase/utility.h
=== modified file 'libbase/GnashNumeric.h'
--- a/libbase/GnashNumeric.h    2009-03-17 16:14:19 +0000
+++ b/libbase/GnashNumeric.h    2009-03-19 18:47:52 +0000
@@ -1,7 +1,34 @@
+// GnashNumeric.h: vaguely useful mathematical functions.
+// 
+//   Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+// 
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
 #ifndef GNASH_NUMERIC_H
 #define GNASH_NUMERIC_H
 
+#ifdef HAVE_CONFIG_H
+# include "gnashconfig.h"
+#endif
+
+#include <cmath>
+#include <algorithm>
+#include <boost/cstdint.hpp>
+#include <limits>
+
 namespace gnash {
 
 // Using a possible built-in pi constant M_PI, which is not in

=== modified file 'libbase/utility.h'
--- a/libbase/utility.h 2009-03-17 11:39:48 +0000
+++ b/libbase/utility.h 2009-03-19 18:47:52 +0000
@@ -28,13 +28,10 @@
 # include <ieeefp.h> // for finite()
 #endif
 
+#include <cstdlib>
 #include <cassert>
 #include <string>
 #include <typeinfo>
-#include <cmath>
-#include <boost/cstdint.hpp>
-#include <algorithm> // std::min, std::max
-#include <limits>
 
 #ifdef HAVE_PTHREADS
 #include <pthread.h>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]