]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Only define preprocessor symbol if not already defined.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Jun 2011 21:04:40 +0000 (21:04 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Jun 2011 21:04:40 +0000 (21:04 +0000)
git-svn-id: https://svn.dealii.org/trunk@23888 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 6e3722a8e3174bb5162deeb2c6846b661b67ef97..c5dcfc2f68b805d60dc1781a5a3b08c6ab113dde 100644 (file)
@@ -3,7 +3,10 @@
 //  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)
 
+#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.