Browse Source

use pEp/platform.h for windows compat

LIB-18
heck 4 years ago
parent
commit
a77a24c8b6
  1. 3
      src/message_cache.cc

3
src/message_cache.cc

@ -2,6 +2,7 @@
// see LICENSE.txt
#include "message_cache.hh"
#include <pEp/platform.h>
#include <cassert>
#include <cstring>
#include <climits>
@ -96,7 +97,7 @@ namespace pEp {
if (!src)
return nullptr;
char *dst = ::_strdup(src);
char *dst = ::strdup(src);
assert(dst);
if (!dst)
throw std::bad_alloc();

Loading…
Cancel
Save