]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a warning.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 26 Aug 2010 15:42:13 +0000 (15:42 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 26 Aug 2010 15:42:13 +0000 (15:42 +0000)
git-svn-id: https://svn.dealii.org/trunk@21728 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/boost/libs/thread/src/pthread/once.cpp

index 6e3722a8e3174bb5162deeb2c6846b661b67ef97..94769a03ea6c009c09eb96d6b37b0cb66f35ed45 100644 (file)
@@ -3,7 +3,9 @@
 //  Distributed under the Boost Software License, Version 1.0. (See accompanying 
 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
-#define __STDC_CONSTANT_MACROS
+#ifndef __STDC_CONSTANT_MACROS
+#  define __STDC_CONSTANT_MACROS
+#endif
 #include <boost/thread/once.hpp>
 #include <boost/assert.hpp>
 #include <pthread.h>

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.