[stegotorus/master] Temporarily comment out some code not supported by Apple's gcc.
 
            
            
            
            
                20 Jul
                
                    2012
                
            
            
                20 Jul
                
                '12
                
            
            
            
        
    
                11:17 p.m.
            
        commit 25d5751d8effeafa50a628e1e78e3ca95aff2051 Author: Zack Weinberg <zackw@cmu.edu> Date: Tue Mar 27 21:33:11 2012 -0700 Temporarily comment out some code not supported by Apple's gcc. --- src/rng.cc | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/rng.cc b/src/rng.cc index 86a55c1..149363e 100644 --- a/src/rng.cc +++ b/src/rng.cc @@ -128,8 +128,10 @@ rng_double() unsigned int n; }; +#if 0 static_assert(sizeof(double) == sizeof(uint64_t), "this code works only with 64-bit, IEEE double"); +#endif union ieee754_double { double d; uint64_t i;
        4851
        
      
          Age (days ago)
        
      
        4851
        
    
          Last active (days ago)
        
        
        
        0 comments
    
    
        
        1 participants
    
    
    
    
    
    
    
    
    participants (1)
- 
                 zwol@torproject.org zwol@torproject.org