소스 검색

no STL_HASH by default

David Rose 21 년 전
부모
커밋
3b23cb04b0
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      dtool/Config.pp

+ 6 - 1
dtool/Config.pp

@@ -251,7 +251,12 @@
 // Dinkum STL library that VC7 ships with includes a preliminary
 // Dinkum STL library that VC7 ships with includes a preliminary
 // implementation that Panda can optionally use.)  For now, we assume
 // implementation that Panda can optionally use.)  For now, we assume
 // you have this by default only on a Windows platform.
 // you have this by default only on a Windows platform.
-#define HAVE_STL_HASH $[WINDOWS_PLATFORM]
+
+// On second thought, it turns out that this API is still too
+// volatile.  The interface seems to have changed with the next
+// version of .NET, and it didn't present any measureable performance
+// gain anyway.  Never mind.
+#define HAVE_STL_HASH
 
 
 // Is OpenSSL installed, and where?
 // Is OpenSSL installed, and where?
 #define SSL_IPATH /usr/local/ssl/include
 #define SSL_IPATH /usr/local/ssl/include