summaryrefslogtreecommitdiff
path: root/PACE/pace/win32/utime.h
blob: 5b90db1bd70ab830fc3dd1de9aaa4b33d3bd4ca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* $Id$

 * ============================================================================
 *
 * = LIBRARY
 *    pace
 *
 * = FILENAME
 *    pace/win32/utime.h
 *
 * = AUTHOR
 *    Luther Baker
 *
 * ============================================================================ */

#ifndef PACE_UTIME_H_WIN32
#define PACE_UTIME_H_WIN32

#include "pace/sys/types.h"
#if defined (__BORLANDC__)
#include <utime.h>
#else
#include <sys/utime.h>
#endif /* __BORLANDC__ */

#if defined (PACE_HAS_CPLUSPLUS)
extern "C" {
#endif /* PACE_HAS_CPLUSPLUS */

#ifndef PACE_UTIMBUF
#define PACE_UTIMBUF
  typedef struct _utimbuf pace_utimbuf;
#endif /* PACE_UTIMBUF */

#if (PACE_HAS_POSIX_FS_UOF)
  int win32_utime (const char * path, const pace_utimbuf * times);
#endif /* PACE_HAS_POSIX_FS_UOF */

#if defined (PACE_HAS_CPLUSPLUS)
}
#endif /* PACE_HAS_CPLUSPLUS */

#endif /* PACE_UTIME_H_WIN32 */