summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/stdafx.h
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-01-21 12:50:12 +0300
committeraunsane <aunsane@gmail.com>2018-01-21 12:50:54 +0300
commit7177ca3a70807f06746b5f753e786811cd98f90e (patch)
tree6a0360a3353a79f05b8e1ee330f80211ea806d36 /protocols/Tox/src/stdafx.h
parent087173d06f4848f19d186b6902d399ce9b7225e1 (diff)
Tox: attempt to fix locked file when transfer is cancelled
Diffstat (limited to 'protocols/Tox/src/stdafx.h')
-rw-r--r--protocols/Tox/src/stdafx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Tox/src/stdafx.h b/protocols/Tox/src/stdafx.h
index a136f910a7..099e77f46d 100644
--- a/protocols/Tox/src/stdafx.h
+++ b/protocols/Tox/src/stdafx.h
@@ -42,6 +42,8 @@
struct CToxProto;
+#define now() time(nullptr)
+
#include "version.h"
#include "resource.h"
#include "tox_menus.h"