Changeset 253


Ignore:
Timestamp:
20/12/2005 19:46:44 (6 years ago)
Author:
chris
Message:
  • lib/win32/emu.h
  • lib/common/BoxPlatform.h
  • Compile fixes for Microsoft Visual C++ 2005 (not retested on MinGW yet)
Location:
box/chris/win32/pipe-security/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • box/chris/win32/pipe-security/lib/common/BoxPlatform.h

    r217 r253  
    7878        #define HAVE_UINT32_T 
    7979        #define HAVE_UINT64_T 
     80        #define HAVE_U_INT8_T 
     81        #define HAVE_U_INT16_T 
     82        #define HAVE_U_INT32_T 
     83        #define HAVE_U_INT64_T 
    8084 
    81         typedef unsigned int uid_t; 
    82         typedef unsigned int gid_t; 
     85        // typedef unsigned int uid_t; 
     86        // typedef unsigned int gid_t; 
    8387        typedef int pid_t; 
    8488#endif // WIN32 && !__MINGW32__ 
  • box/chris/win32/pipe-security/lib/win32/emu.h

    r217 r253  
    44#define EMU_INCLUDE 
    55 
    6 #define _STAT_DEFINED 
     6// #define _STAT_DEFINED 
    77#define _INO_T_DEFINED 
    88 
     
    179179                } 
    180180 
    181                 index = str.find('-'); 
     181                index = (int)str.find('-'); 
    182182 
    183183                if ( index == -1 ) return -1; 
     
    188188                str = args[optind]; 
    189189        } 
    190         while ( ( opttolookfor = interestin.find(opt)) == -1 ); 
     190        while ( ( opttolookfor = (int)interestin.find(opt)) == -1 ); 
    191191 
    192192        if ( interestin[opttolookfor+1] == ':' )  
     
    258258inline int mkdir(const char *pathname, mode_t mode) 
    259259{ 
    260         return mkdir(pathname); 
     260        return _mkdir(pathname); 
    261261} 
    262262 
     
    359359}; 
    360360 
     361#if 0 
    361362// I think this should get us going 
    362363// Although there is a warning about  
     
    382383typedef u_int64_t _ino_t; 
    383384#endif 
     385#endif // 0 
    384386 
    385387int ourstat(const char * name, struct stat * st); 
Note: See TracChangeset for help on using the changeset viewer.