Browse Source

JNI-158 - remove __LP64__ related stuff

JNI-158
heck 4 years ago
parent
commit
bc035e2910
  1. 14
      src/cxx/jniutils.cc

14
src/cxx/jniutils.cc

@ -1,17 +1,7 @@
#include <cassert>
#include "jniutils.hh" #include "jniutils.hh"
#include <pEp/pEpLog.hh> #include <pEp/pEpLog.hh>
#include <cassert>
#ifndef __LP64__ #include <cstring>
#include <time64.h>
#define time_t time64_t
#define timegm timegm64
#define gmtime_r gmtime64_r
#else
#include <string.h>
#endif
namespace pEp { namespace pEp {
namespace JNIAdapter { namespace JNIAdapter {

Loading…
Cancel
Save