mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 16:22:58 +00:00
fix utime usage
svn path=/trunk/; revision=38068
This commit is contained in:
parent
7f8b6003c6
commit
db8c91d651
1 changed files with 8 additions and 9 deletions
|
@ -91,8 +91,11 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
_CRTIMP int __cdecl _utime(const char *_Filename,struct _utimbuf *_Utimbuf);
|
||||||
_CRTIMP int __cdecl _utime32(const char *_Filename,struct __utimbuf32 *_Time);
|
_CRTIMP int __cdecl _utime32(const char *_Filename,struct __utimbuf32 *_Time);
|
||||||
|
_CRTIMP int __cdecl _futime(int _Desc,struct _utimbuf *_Utimbuf);
|
||||||
_CRTIMP int __cdecl _futime32(int _FileDes,struct __utimbuf32 *_Time);
|
_CRTIMP int __cdecl _futime32(int _FileDes,struct __utimbuf32 *_Time);
|
||||||
|
_CRTIMP int __cdecl _wutime(const wchar_t *_Filename,struct _utimbuf *_Utimbuf);
|
||||||
_CRTIMP int __cdecl _wutime32(const wchar_t *_Filename,struct __utimbuf32 *_Time);
|
_CRTIMP int __cdecl _wutime32(const wchar_t *_Filename,struct __utimbuf32 *_Time);
|
||||||
#if _INTEGRAL_MAX_BITS >= 64
|
#if _INTEGRAL_MAX_BITS >= 64
|
||||||
_CRTIMP int __cdecl _utime64(const char *_Filename,struct __utimbuf64 *_Time);
|
_CRTIMP int __cdecl _utime64(const char *_Filename,struct __utimbuf64 *_Time);
|
||||||
|
@ -100,9 +103,10 @@ extern "C" {
|
||||||
_CRTIMP int __cdecl _wutime64(const wchar_t *_Filename,struct __utimbuf64 *_Time);
|
_CRTIMP int __cdecl _wutime64(const wchar_t *_Filename,struct __utimbuf64 *_Time);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if 0
|
||||||
#ifndef RC_INVOKED
|
#ifndef RC_INVOKED
|
||||||
#ifdef _USE_32BIT_TIME_T
|
#ifdef _USE_32BIT_TIME_T
|
||||||
__CRT_INLINE int __cdecl _utime(const char *_Filename,struct _utimbuf *_Utimbuf) {
|
__CRT_INLINE int __cdecl _utime32(const char *_Filename,struct _utimbuf *_Utimbuf) {
|
||||||
return _utime32(_Filename,(struct __utimbuf32 *)_Utimbuf);
|
return _utime32(_Filename,(struct __utimbuf32 *)_Utimbuf);
|
||||||
}
|
}
|
||||||
__CRT_INLINE int __cdecl _futime(int _Desc,struct _utimbuf *_Utimbuf) {
|
__CRT_INLINE int __cdecl _futime(int _Desc,struct _utimbuf *_Utimbuf) {
|
||||||
|
@ -122,18 +126,13 @@ __CRT_INLINE int __cdecl _wutime(const wchar_t *_Filename,struct _utimbuf *_Utim
|
||||||
return _wutime64(_Filename,(struct __utimbuf64 *)_Utimbuf);
|
return _wutime64(_Filename,(struct __utimbuf64 *)_Utimbuf);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef NO_OLDNAMES
|
#ifndef NO_OLDNAMES
|
||||||
#ifdef _USE_32BIT_TIME_T
|
|
||||||
__CRT_INLINE int __cdecl utime(const char *_Filename,struct utimbuf *_Utimbuf) {
|
__CRT_INLINE int __cdecl utime(const char *_Filename,struct utimbuf *_Utimbuf) {
|
||||||
return _utime32(_Filename,(struct __utimbuf32 *)_Utimbuf);
|
return _utime(_Filename,(struct _utimbuf *)_Utimbuf);
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
__CRT_INLINE int __cdecl utime(const char *_Filename,struct utimbuf *_Utimbuf) {
|
|
||||||
return _utime64(_Filename,(struct __utimbuf64 *)_Utimbuf);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue