From 564d0374b6a4b0991eacf03f6650e9e2ecd2e8e4 Mon Sep 17 00:00:00 2001 From: Stefano Facchini Date: Sat, 21 Oct 2017 11:49:43 +0200 Subject: Remove obsolete build defines --- CMakeLists.txt | 2 -- src/ui/tool/node.h | 11 ----------- 2 files changed, 13 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a2fbbeb8..a5cdd262f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -148,10 +148,8 @@ include(CMakeScripts/HelperMacros.cmake) # Misc Utility Macros if (NOT CMAKE_BUILD_TYPE MATCHES Debug) add_definitions(-D_FORTIFY_SOURCE=2) endif() -add_definitions(-DORBIT2=1) add_definitions(-DHAVE_CONFIG_H) add_definitions(-DHAVE_CAIRO_PDF=1) # needed for src/libnrtype/Layout-TNG.h -add_definitions(-DHAVE_TR1_UNORDERED_SET) # XXX make an option! if(BUILD_SHARED_LIBS AND NOT WIN32) add_definitions(-fPIC) endif() diff --git a/src/ui/tool/node.h b/src/ui/tool/node.h index 2964b66ca..2d4eb4a7a 100644 --- a/src/ui/tool/node.h +++ b/src/ui/tool/node.h @@ -34,17 +34,6 @@ template class NodeIterator; } } -/* -#if HAVE_TR1_UNORDERED_SET -namespace std { -namespace tr1 { -template struct hash< Inkscape::UI::NodeIterator >; -} -} -#endif -#endif -*/ - namespace Inkscape { namespace UI { -- cgit v1.2.3