[tor-bugs] #7669 [Tor]: SIZEOF_INTPTR_T not defined in msvc builds

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 10 06:24:32 UTC 2012


#7669: SIZEOF_INTPTR_T not defined in msvc builds
-----------------------------+----------------------------------------------
 Reporter:  ultramage        |          Owner:                    
     Type:  defect           |         Status:  new               
 Priority:  normal           |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor              |        Version:                    
 Keywords:  msvc tor-client  |         Parent:                    
   Points:                   |   Actualpoints:                    
-----------------------------+----------------------------------------------

Comment(by ultramage):

 As a quick workaround in my checkout I did this right above the offending
 code:
 {{{
 #if !defined(SIZEOF_INTPTR_T) && defined(_MSC_VER)
 #define SIZEOF_INTPTR_T SIZEOF_VOID_P
 #endif
 }}}
 I tried adding stuff to torint.h, but got confused by the overlapping #if
 checks. It should be possible to do, if done carefully.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7669#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list