Browse Source
JNI-174: Revert "JNI-158 - remove __LP64__ related stuff"
This reverts commit bc035e29
pull/17/head
Hussein Kasem
3 years ago
No known key found for this signature in database
GPG Key ID: 9E61B9BC790E6B02
1 changed files with
12 additions and
2 deletions
-
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 { |
|
|
|