Browse Source

use _USE_32BIT_TIME_T in win32 build

Add i2pd.exe in .gitignore
pull/797/head
R4SAS 8 years ago
parent
commit
d96dbe9365
  1. 1
      .gitignore
  2. 6
      Timestamp.cpp

1
.gitignore vendored

@ -8,6 +8,7 @@ netDb
/i2pd /i2pd
/libi2pd.a /libi2pd.a
/libi2pdclient.a /libi2pdclient.a
i2pd.exe
# Autotools # Autotools

6
Timestamp.cpp

@ -5,6 +5,12 @@
#include "I2PEndian.h" #include "I2PEndian.h"
#include "Timestamp.h" #include "Timestamp.h"
#ifdef WIN32
#ifndef _WIN64
#define _USE_32BIT_TIME_T
#endif
#endif
namespace i2p namespace i2p
{ {
namespace util namespace util

Loading…
Cancel
Save