From 5082e02b6b893e13903ad0c5ed07e7057366cce8 Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Mon, 7 Oct 2013 10:21:07 -0400 Subject: [PATCH] Updated some stasm files to get rid of compiler warnings --- 3rdparty/stasm4.0.0/stasm/hatdesc.cpp | 10 ---------- openbr/plugins/stasm4.cmake | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/3rdparty/stasm4.0.0/stasm/hatdesc.cpp b/3rdparty/stasm4.0.0/stasm/hatdesc.cpp index e7a590f..479b1c7 100755 --- a/3rdparty/stasm4.0.0/stasm/hatdesc.cpp +++ b/3rdparty/stasm4.0.0/stasm/hatdesc.cpp @@ -9,16 +9,6 @@ #define CACHE 1 // define to 0 if your compiler doesn't support hash_map // Stasm runs faster if 1 -#if CACHE - // define hash_map, current implementations are compiler dependent (2013) - #ifdef _MSC_VER // microsoft - #include - using namespace stdext; - #else // assume gcc - #include - using namespace __gnu_cxx; - #endif -#endif namespace stasm { diff --git a/openbr/plugins/stasm4.cmake b/openbr/plugins/stasm4.cmake index 8d7e543..42c8de5 100644 --- a/openbr/plugins/stasm4.cmake +++ b/openbr/plugins/stasm4.cmake @@ -1,4 +1,4 @@ -set(BR_WITH_STASM4 OFF CACHE BOOL "Build with Stasm") +set(BR_WITH_STASM4 ON CACHE BOOL "Build with Stasm") if(${BR_WITH_STASM4}) find_package(Stasm4 REQUIRED) -- libgit2 0.21.4