[tor-bugs] #4991 [Tor Client]: Use standard windows-detection macros

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Jan 31 15:57:17 UTC 2012


#4991: Use standard windows-detection macros
------------------------------------+---------------------------------------
 Reporter:  nickm                   |          Owner:                  
     Type:  defect                  |         Status:  new             
 Priority:  normal                  |      Milestone:  Tor: unspecified
Component:  Tor Client              |        Version:                  
 Keywords:  easy, windows, cleanup  |         Parent:                  
   Points:                          |   Actualpoints:                  
------------------------------------+---------------------------------------

Comment(by nickm):

 Here's the script I propose to run over src/*/*.[ch]

 {{{
 #!/usr/bin/perl -w -i.bak -p

 if (/^\s*\#/) {
     s/MS_WINDOWS/_WIN32/g;
     s/\bWIN32\b/_WIN32/g;
 }
 }}}

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


More information about the tor-bugs mailing list