Lines 28-37
Link Here
|
28 |
# include <stdexcept> |
28 |
# include <stdexcept> |
29 |
# include <string> |
29 |
# include <string> |
30 |
# include <typeinfo> |
30 |
# include <typeinfo> |
|
|
31 |
|
32 |
/* Ugly hack -- X headers define None as various kinds of 0, |
33 |
* and sometimes even as -1, but boost libraries define their |
34 |
* own type None; this file at one place expects None to be 0l |
35 |
*/ |
36 |
#undef None |
37 |
|
31 |
# include <boost/cast.hpp> |
38 |
# include <boost/cast.hpp> |
32 |
# include <boost/concept_check.hpp> |
39 |
# include <boost/concept_check.hpp> |
33 |
# include <boost/shared_ptr.hpp> |
40 |
# include <boost/shared_ptr.hpp> |
34 |
# include <boost/utility.hpp> |
41 |
# include <boost/utility.hpp> |
|
|
42 |
|
43 |
/* Ugly hack -- X headers define None as various kinds of 0, |
44 |
* and sometimes even as -1, but boost libraries define their |
45 |
* own type None; this file at one place expects None to be 0l |
46 |
*/ |
47 |
#define None 0l |
48 |
|
35 |
# include <openvrml/basetypes.h> |
49 |
# include <openvrml/basetypes.h> |
36 |
# include <openvrml/node_ptr.h> |
50 |
# include <openvrml/node_ptr.h> |
37 |
|
51 |
|