other-licenses/7zstub/src/Common/MyUnknown.h

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

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 // MyUnknown.h
     3 #ifndef __MYUNKNOWN_H
     4 #define __MYUNKNOWN_H
     6 #ifdef _WIN32
     8 #ifdef _WIN32_WCE
     9 #if (_WIN32_WCE > 300)
    10 #include <basetyps.h>
    11 #else
    12 #define MIDL_INTERFACE(x) struct 
    13 #endif
    14 #else
    15 #include <basetyps.h>
    16 #endif
    18 #include <unknwn.h>
    20 #else 
    21 #include "MyWindows.h"
    22 #endif
    24 #endif

mercurial