Changeset 4938:bb074f761e86 in roaraudio for libroar/authfile.c


Ignore:
Timestamp:
05/09/11 03:06:24 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

some minor fixes for win32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/authfile.c

    r4792 r4938  
    5050 struct roar_authfile * ret; 
    5151 size_t magiclen = 0; 
     52#ifdef ROAR_HAVE_STAT 
    5253 struct stat filestat; 
     54#endif 
    5355 
    5456 if ( type == ROAR_AUTHFILE_TYPE_AUTO ) { 
     57#ifdef ROAR_HAVE_STAT 
    5558  if ( stat(filename, &filestat) != 0 ) 
    5659   return NULL; 
     
    6366   return NULL; 
    6467  } 
     68#else 
     69  return NULL; 
     70#endif 
    6571 } 
    6672 
Note: See TracChangeset for help on using the changeset viewer.