Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
1 #define MAJOR_VERSION 1
2 #define MINOR_VERSION 2
3 #define BUILD_VERSION 0
4 #define BUILD_REVISION 2431
6 #define STRINGIFY(x) #x
7 #define MACRO_STRINGIFY(x) STRINGIFY(x)
9 #define REVISION_STRING MACRO_STRINGIFY(BUILD_REVISION)
10 #define VERSION_STRING MACRO_STRINGIFY(MAJOR_VERSION) "." MACRO_STRINGIFY(MINOR_VERSION) "." MACRO_STRINGIFY(BUILD_VERSION) "." MACRO_STRINGIFY(BUILD_REVISION)
12 #define VERSION_DWORD ((MAJOR_VERSION << 24) | (MINOR_VERSION << 16) | BUILD_REVISION)