Browse Source

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

This reverts commit bc035e29
pull/17/head
Hussein Kasem 3 years ago
parent
commit
bb45085b00
No known key found for this signature in database GPG Key ID: 9E61B9BC790E6B02
  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