Kaydet (Commit) 4188576f authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bin obsolete conditional compilation

MD5_KERNEL has been defined always for a long time, and I don't see why we
wouldn't want that functionality.

Change-Id: I7ee220ac3354fb8e5f6556259147675847aab68d
üst df030ad2
......@@ -73,10 +73,8 @@ const unsigned long __nan[2] = {0xffffffff, 0x7fffffff};
#include <iostream>
#include <sstream>
#include <algorithm>
#define MD5_KERNEL 1
#ifdef MD5_KERNEL
#include <rtl/digest.h>
#endif
#include <boost/scoped_ptr.hpp>
#include <boost/scoped_array.hpp>
......@@ -3405,7 +3403,6 @@ void DynamicKernel::CodeGen()
std::string DynamicKernel::GetMD5()
{
#ifdef MD5_KERNEL
if (mKernelHash.empty())
{
std::stringstream md5s;
......@@ -3422,9 +3419,6 @@ std::string DynamicKernel::GetMD5()
mKernelHash = md5s.str();
}
return mKernelHash;
#else
return "";
#endif
}
/// Build code
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment