summaryrefslogtreecommitdiffstats
path: root/src/libs/7zip/unix/CPP/myWindows/myPrivate.h
blob: 73739d095a855668d704a67a0a6a6e412ccf9ec5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

void WINAPI RtlSecondsSince1970ToFileTime( DWORD Seconds, FILETIME * ft );

extern "C" int global_use_utf16_conversion;
#ifdef ENV_HAVE_LSTAT
extern "C" int global_use_lstat;
#endif

const char *my_getlocale(void);

#ifdef NEED_NAME_WINDOWS_TO_UNIX
static inline const char * nameWindowToUnix(const char * lpFileName) {
  if ((lpFileName[0] == 'c') && (lpFileName[1] == ':')) return lpFileName+2;
  return lpFileName;
}
#endif