Changeset 1078:fa6ec67f156f in roaraudio for libroar/basic.c


Ignore:
Timestamp:
12/28/08 18:19:07 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

do not use incomplete struct on win32 (no pwd.h *grrr*)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/basic.c

    r1066 r1078  
    6565 
    6666  if ( roar_server == NULL ) { 
     67#ifndef ROAR_TARGET_WIN32 
    6768   if ( (pwd = getpwuid(getuid())) == NULL ) { 
    6869    roar_server = "/NX-HOME-DIR"; 
     
    7071    roar_server = pwd->pw_dir; 
    7172   } 
     73#else 
     74   roar_server = "/WIN32-SUCKS"; 
     75#endif 
    7276  } 
    7377 
Note: See TracChangeset for help on using the changeset viewer.