Browse Source

JNI-174: Revert "JNI-158 - remove __LP64__ related stuff"

This reverts commit bc035e29
JNI-172
Hussein Kasem 3 years ago
committed by heck
parent
commit
f714e19af2
  1. 14
      src/cxx/jniutils.cc

14
src/cxx/jniutils.cc

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

Loading…
Cancel
Save