standalone-ruby 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/lib/displayer.rb +2 -4
  4. data/lib/exe_packer.rb +1 -15
  5. data/lib/launcher.rb +4 -17
  6. data/lib/launcher_handler.rb +0 -12
  7. data/lib/parameter_parser.rb +0 -9
  8. data/lib/ruby_copy.rb +0 -6
  9. data/lib/sfx_generator.rb +0 -2
  10. data/lib/version/version.rb +1 -1
  11. metadata +2 -87
  12. data/lib/data/bat-cmd/default_bat_cmd.txt +0 -9
  13. data/lib/data/exe_template/launcher_stub.c +0 -30
  14. data/lib/data/exe_template/launcher_stub.cpp +0 -9
  15. data/lib/data/tcc/include/_mingw.h +0 -54
  16. data/lib/data/tcc/include/assert.h +0 -71
  17. data/lib/data/tcc/include/conio.h +0 -159
  18. data/lib/data/tcc/include/ctype.h +0 -232
  19. data/lib/data/tcc/include/dir.h +0 -26
  20. data/lib/data/tcc/include/direct.h +0 -95
  21. data/lib/data/tcc/include/dirent.h +0 -96
  22. data/lib/data/tcc/include/dos.h +0 -110
  23. data/lib/data/tcc/include/errno.h +0 -117
  24. data/lib/data/tcc/include/excpt.h +0 -20
  25. data/lib/data/tcc/include/fcntl.h +0 -135
  26. data/lib/data/tcc/include/fenv.h +0 -85
  27. data/lib/data/tcc/include/float.h +0 -224
  28. data/lib/data/tcc/include/inttypes.h +0 -275
  29. data/lib/data/tcc/include/io.h +0 -296
  30. data/lib/data/tcc/include/limits.h +0 -115
  31. data/lib/data/tcc/include/locale.h +0 -100
  32. data/lib/data/tcc/include/malloc.h +0 -87
  33. data/lib/data/tcc/include/math.h +0 -438
  34. data/lib/data/tcc/include/mem.h +0 -8
  35. data/lib/data/tcc/include/memory.h +0 -9
  36. data/lib/data/tcc/include/process.h +0 -158
  37. data/lib/data/tcc/include/setjmp.h +0 -72
  38. data/lib/data/tcc/include/share.h +0 -44
  39. data/lib/data/tcc/include/signal.h +0 -111
  40. data/lib/data/tcc/include/stdarg.h +0 -16
  41. data/lib/data/tcc/include/stdbool.h +0 -10
  42. data/lib/data/tcc/include/stddef.h +0 -26
  43. data/lib/data/tcc/include/stdint.h +0 -184
  44. data/lib/data/tcc/include/stdio.h +0 -413
  45. data/lib/data/tcc/include/stdlib.h +0 -482
  46. data/lib/data/tcc/include/string.h +0 -206
  47. data/lib/data/tcc/include/sys/fcntl.h +0 -8
  48. data/lib/data/tcc/include/sys/file.h +0 -9
  49. data/lib/data/tcc/include/sys/locking.h +0 -52
  50. data/lib/data/tcc/include/sys/stat.h +0 -190
  51. data/lib/data/tcc/include/sys/time.h +0 -3
  52. data/lib/data/tcc/include/sys/timeb.h +0 -82
  53. data/lib/data/tcc/include/sys/types.h +0 -118
  54. data/lib/data/tcc/include/sys/unistd.h +0 -9
  55. data/lib/data/tcc/include/sys/utime.h +0 -89
  56. data/lib/data/tcc/include/tchar.h +0 -367
  57. data/lib/data/tcc/include/time.h +0 -219
  58. data/lib/data/tcc/include/unistd.h +0 -10
  59. data/lib/data/tcc/include/values.h +0 -4
  60. data/lib/data/tcc/include/varargs.h +0 -11
  61. data/lib/data/tcc/include/wchar.h +0 -318
  62. data/lib/data/tcc/include/wctype.h +0 -127
  63. data/lib/data/tcc/include/winapi/basetsd.h +0 -119
  64. data/lib/data/tcc/include/winapi/basetyps.h +0 -144
  65. data/lib/data/tcc/include/winapi/winbase.h +0 -1852
  66. data/lib/data/tcc/include/winapi/wincon.h +0 -207
  67. data/lib/data/tcc/include/winapi/windef.h +0 -240
  68. data/lib/data/tcc/include/winapi/windows.h +0 -176
  69. data/lib/data/tcc/include/winapi/winerror.h +0 -1054
  70. data/lib/data/tcc/include/winapi/wingdi.h +0 -2843
  71. data/lib/data/tcc/include/winapi/winnetwk.h +0 -346
  72. data/lib/data/tcc/include/winapi/winnls.h +0 -651
  73. data/lib/data/tcc/include/winapi/winnt.h +0 -2667
  74. data/lib/data/tcc/include/winapi/winreg.h +0 -159
  75. data/lib/data/tcc/include/winapi/winsvc.h +0 -309
  76. data/lib/data/tcc/include/winapi/winuser.h +0 -3472
  77. data/lib/data/tcc/include/winapi/winver.h +0 -133
  78. data/lib/data/tcc/lib/gdi32.def +0 -337
  79. data/lib/data/tcc/lib/kernel32.def +0 -763
  80. data/lib/data/tcc/lib/libtcc1.a +0 -0
  81. data/lib/data/tcc/lib/msvcrt.def +0 -782
  82. data/lib/data/tcc/lib/user32.def +0 -654
  83. data/lib/data/tcc/tcc.exe +0 -0
  84. data/lib/data/tcc/tiny_impdef.exe +0 -0
  85. data/lib/data/tcc/tiny_libmaker.exe +0 -0
  86. data/lib/data/vbs/default_vbs.txt +0 -7
  87. data/lib/data/vbs/vbs_gui.txt +0 -8
  88. data/lib/logger_helper.rb +0 -24
  89. data/lib/utils/config_generator.rb +0 -5
  90. data/lib/utils/displayer.rb +0 -64
  91. data/lib/utils/exe_packer.rb +0 -72
  92. data/lib/utils/launcher.rb +0 -77
  93. data/lib/utils/launcher_handler.rb +0 -111
  94. data/lib/utils/logger_helper.rb +0 -24
  95. data/lib/utils/parameter_parser.rb +0 -211
  96. data/lib/utils/ruby_copy.rb +0 -26
@@ -1,52 +0,0 @@
1
- /*
2
- * locking.h
3
- *
4
- * Constants for the mode parameter of the locking function.
5
- *
6
- * This file is part of the Mingw32 package.
7
- *
8
- * Contributors:
9
- * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
10
- *
11
- * THIS SOFTWARE IS NOT COPYRIGHTED
12
- *
13
- * This source code is offered for use in the public domain. You may
14
- * use, modify or distribute it freely.
15
- *
16
- * This code is distributed in the hope that it will be useful but
17
- * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18
- * DISCLAIMED. This includes but is not limited to warranties of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20
- *
21
- * $Revision: 1.2 $
22
- * $Author: bellard $
23
- * $Date: 2005/04/17 13:14:29 $
24
- *
25
- */
26
-
27
- #ifndef __STRICT_ANSI__
28
-
29
- #ifndef _LOCKING_H_
30
- #define _LOCKING_H_
31
-
32
- /* All the headers include this file. */
33
- #include <_mingw.h>
34
-
35
- #define _LK_UNLCK 0 /* Unlock */
36
- #define _LK_LOCK 1 /* Lock */
37
- #define _LK_NBLCK 2 /* Non-blocking lock */
38
- #define _LK_RLCK 3 /* Lock for read only */
39
- #define _LK_NBRLCK 4 /* Non-blocking lock for read only */
40
-
41
- #ifndef NO_OLDNAMES
42
- #define LK_UNLCK _LK_UNLCK
43
- #define LK_LOCK _LK_LOCK
44
- #define LK_NBLCK _LK_NBLCK
45
- #define LK_RLCK _LK_RLCK
46
- #define LK_NBRLCK _LK_NBRLCK
47
- #endif /* Not NO_OLDNAMES */
48
-
49
- #endif /* Not _LOCKING_H_ */
50
-
51
- #endif /* Not __STRICT_ANSI__ */
52
-
@@ -1,190 +0,0 @@
1
- /*
2
- * stat.h
3
- *
4
- * Symbolic constants for opening and creating files, also stat, fstat and
5
- * chmod functions.
6
- *
7
- * This file is part of the Mingw32 package.
8
- *
9
- * Contributors:
10
- * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
11
- *
12
- * THIS SOFTWARE IS NOT COPYRIGHTED
13
- *
14
- * This source code is offered for use in the public domain. You may
15
- * use, modify or distribute it freely.
16
- *
17
- * This code is distributed in the hope that it will be useful but
18
- * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
19
- * DISCLAIMED. This includes but is not limited to warranties of
20
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21
- *
22
- * $Revision: 1.2 $
23
- * $Author: bellard $
24
- * $Date: 2005/04/17 13:14:29 $
25
- *
26
- */
27
-
28
- #ifndef __STRICT_ANSI__
29
-
30
- #ifndef _STAT_H_
31
- #define _STAT_H_
32
-
33
- /* All the headers include this file. */
34
- #include <_mingw.h>
35
-
36
- #define __need_size_t
37
- #define __need_wchar_t
38
- #ifndef RC_INVOKED
39
- #include <stddef.h>
40
- #endif /* Not RC_INVOKED */
41
-
42
- #include <sys/types.h>
43
-
44
- /*
45
- * Constants for the stat st_mode member.
46
- */
47
- #define _S_IFIFO 0x1000 /* FIFO */
48
- #define _S_IFCHR 0x2000 /* Character */
49
- #define _S_IFBLK 0x3000 /* Block: Is this ever set under w32? */
50
- #define _S_IFDIR 0x4000 /* Directory */
51
- #define _S_IFREG 0x8000 /* Regular */
52
-
53
- #define _S_IFMT 0xF000 /* File type mask */
54
-
55
- #define _S_IEXEC 0x0040
56
- #define _S_IWRITE 0x0080
57
- #define _S_IREAD 0x0100
58
-
59
- #define _S_IRWXU (_S_IREAD | _S_IWRITE | _S_IEXEC)
60
- #define _S_IXUSR _S_IEXEC
61
- #define _S_IWUSR _S_IWRITE
62
- #define _S_IRUSR _S_IREAD
63
-
64
- #define _S_ISDIR(m) (((m) & _S_IFMT) == _S_IFDIR)
65
- #define _S_ISFIFO(m) (((m) & _S_IFMT) == _S_IFIFO)
66
- #define _S_ISCHR(m) (((m) & _S_IFMT) == _S_IFCHR)
67
- #define _S_ISBLK(m) (((m) & _S_IFMT) == _S_IFBLK)
68
- #define _S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
69
-
70
- #ifndef _NO_OLDNAMES
71
-
72
- #define S_IFIFO _S_IFIFO
73
- #define S_IFCHR _S_IFCHR
74
- #define S_IFBLK _S_IFBLK
75
- #define S_IFDIR _S_IFDIR
76
- #define S_IFREG _S_IFREG
77
- #define S_IFMT _S_IFMT
78
- #define S_IEXEC _S_IEXEC
79
- #define S_IWRITE _S_IWRITE
80
- #define S_IREAD _S_IREAD
81
- #define S_IRWXU _S_IRWXU
82
- #define S_IXUSR _S_IXUSR
83
- #define S_IWUSR _S_IWUSR
84
- #define S_IRUSR _S_IRUSR
85
-
86
- #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
87
- #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)
88
- #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
89
- #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)
90
- #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
91
-
92
- #endif /* Not _NO_OLDNAMES */
93
-
94
- #ifndef RC_INVOKED
95
-
96
- #ifndef _STAT_DEFINED
97
- /*
98
- * The structure manipulated and returned by stat and fstat.
99
- *
100
- * NOTE: If called on a directory the values in the time fields are not only
101
- * invalid, they will cause localtime et. al. to return NULL. And calling
102
- * asctime with a NULL pointer causes an Invalid Page Fault. So watch it!
103
- */
104
- struct _stat
105
- {
106
- _dev_t st_dev; /* Equivalent to drive number 0=A 1=B ... */
107
- _ino_t st_ino; /* Always zero ? */
108
- _mode_t st_mode; /* See above constants */
109
- short st_nlink; /* Number of links. */
110
- short st_uid; /* User: Maybe significant on NT ? */
111
- short st_gid; /* Group: Ditto */
112
- _dev_t st_rdev; /* Seems useless (not even filled in) */
113
- _off_t st_size; /* File size in bytes */
114
- time_t st_atime; /* Accessed date (always 00:00 hrs local
115
- * on FAT) */
116
- time_t st_mtime; /* Modified time */
117
- time_t st_ctime; /* Creation time */
118
- };
119
-
120
- struct stat
121
- {
122
- _dev_t st_dev; /* Equivalent to drive number 0=A 1=B ... */
123
- _ino_t st_ino; /* Always zero ? */
124
- _mode_t st_mode; /* See above constants */
125
- short st_nlink; /* Number of links. */
126
- short st_uid; /* User: Maybe significant on NT ? */
127
- short st_gid; /* Group: Ditto */
128
- _dev_t st_rdev; /* Seems useless (not even filled in) */
129
- _off_t st_size; /* File size in bytes */
130
- time_t st_atime; /* Accessed date (always 00:00 hrs local
131
- * on FAT) */
132
- time_t st_mtime; /* Modified time */
133
- time_t st_ctime; /* Creation time */
134
- };
135
- #if defined (__MSVCRT__)
136
- struct _stati64 {
137
- _dev_t st_dev;
138
- _ino_t st_ino;
139
- unsigned short st_mode;
140
- short st_nlink;
141
- short st_uid;
142
- short st_gid;
143
- _dev_t st_rdev;
144
- __int64 st_size;
145
- time_t st_atime;
146
- time_t st_mtime;
147
- time_t st_ctime;
148
- };
149
- #endif /* __MSVCRT__ */
150
- #define _STAT_DEFINED
151
- #endif /* _STAT_DEFINED */
152
-
153
- #ifdef __cplusplus
154
- extern "C" {
155
- #endif
156
-
157
- int _fstat (int, struct _stat*);
158
- int _chmod (const char*, int);
159
- int _stat (const char*, struct _stat*);
160
-
161
- #if defined (__MSVCRT__)
162
- int _fstati64(int, struct _stati64 *);
163
- int _stati64(const char *, struct _stati64 *);
164
- #if !defined ( _WSTAT_DEFINED) /* also declared in wchar.h */
165
- int _wstat(const wchar_t*, struct _stat*);
166
- int _wstati64 (const wchar_t*, struct _stati64*);
167
- #define _WSTAT_DEFINED
168
- #endif /* _WSTAT_DEFIND */
169
- #endif /* __MSVCRT__ */
170
-
171
- #ifndef _NO_OLDNAMES
172
-
173
- /* These functions live in liboldnames.a. */
174
- int fstat (int, struct stat*);
175
- int chmod (const char*, int);
176
- int stat (const char*, struct stat*);
177
-
178
- #endif /* Not _NO_OLDNAMES */
179
-
180
-
181
- #ifdef __cplusplus
182
- }
183
- #endif
184
-
185
- #endif /* Not RC_INVOKED */
186
-
187
- #endif /* Not _STAT_H_ */
188
-
189
- #endif /* Not __STRICT_ANSI__ */
190
-
@@ -1,3 +0,0 @@
1
-
2
- #include <time.h>
3
-
@@ -1,82 +0,0 @@
1
- /*
2
- * timeb.h
3
- *
4
- * Support for the UNIX System V ftime system call.
5
- *
6
- * This file is part of the Mingw32 package.
7
- *
8
- * Contributors:
9
- * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
10
- *
11
- * THIS SOFTWARE IS NOT COPYRIGHTED
12
- *
13
- * This source code is offered for use in the public domain. You may
14
- * use, modify or distribute it freely.
15
- *
16
- * This code is distributed in the hope that it will be useful but
17
- * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18
- * DISCLAIMED. This includes but is not limited to warranties of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20
- *
21
- * $Revision: 1.2 $
22
- * $Author: bellard $
23
- * $Date: 2005/04/17 13:14:29 $
24
- *
25
- */
26
-
27
- #ifndef __STRICT_ANSI__
28
-
29
- #ifndef _TIMEB_H_
30
- #define _TIMEB_H_
31
-
32
- /* All the headers include this file. */
33
- #include <_mingw.h>
34
-
35
- #ifndef RC_INVOKED
36
-
37
- /*
38
- * TODO: Structure not tested.
39
- */
40
- struct _timeb
41
- {
42
- long time;
43
- short millitm;
44
- short timezone;
45
- short dstflag;
46
- };
47
-
48
- #ifndef _NO_OLDNAMES
49
- /*
50
- * TODO: Structure not tested.
51
- */
52
- struct timeb
53
- {
54
- long time;
55
- short millitm;
56
- short timezone;
57
- short dstflag;
58
- };
59
- #endif
60
-
61
-
62
- #ifdef __cplusplus
63
- extern "C" {
64
- #endif
65
-
66
- /* TODO: Not tested. */
67
- void _ftime (struct _timeb*);
68
-
69
- #ifndef _NO_OLDNAMES
70
- void ftime (struct timeb*);
71
- #endif /* Not _NO_OLDNAMES */
72
-
73
- #ifdef __cplusplus
74
- }
75
- #endif
76
-
77
- #endif /* Not RC_INVOKED */
78
-
79
- #endif /* Not _TIMEB_H_ */
80
-
81
- #endif /* Not __STRICT_ANSI__ */
82
-
@@ -1,118 +0,0 @@
1
- /*
2
- * types.h
3
- *
4
- * The definition of constants, data types and global variables.
5
- *
6
- * This file is part of the Mingw32 package.
7
- *
8
- * Contributors:
9
- * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
10
- * Lots of types supplied by Pedro A. Aranda <paag@tid.es>
11
- *
12
- * THIS SOFTWARE IS NOT COPYRIGHTED
13
- *
14
- * This source code is offered for use in the public domain. You may
15
- * use, modify or distribute it freely.
16
- *
17
- * This code is distributed in the hope that it will be useful but
18
- * WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY
19
- * DISCLAIMED. This includes but is not limited to warrenties of
20
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21
- *
22
- * $Revision: 1.2 $
23
- * $Author: bellard $
24
- * $Date: 2005/04/17 13:14:29 $
25
- *
26
- */
27
-
28
- #ifndef _TYPES_H_
29
- #define _TYPES_H_
30
-
31
- /* All the headers include this file. */
32
- #include <_mingw.h>
33
-
34
- #define __need_wchar_t
35
- #define __need_size_t
36
- #define __need_ptrdiff_t
37
- #ifndef RC_INVOKED
38
- #include <stddef.h>
39
- #endif /* Not RC_INVOKED */
40
-
41
- #ifndef RC_INVOKED
42
-
43
- #ifndef _TIME_T_DEFINED
44
- typedef long time_t;
45
- #define _TIME_T_DEFINED
46
- #endif
47
-
48
-
49
- #ifndef __STRICT_ANSI__
50
-
51
- #ifndef _OFF_T_
52
- #define _OFF_T_
53
- typedef long _off_t;
54
-
55
- #ifndef _NO_OLDNAMES
56
- typedef _off_t off_t;
57
- #endif
58
- #endif /* Not _OFF_T_ */
59
-
60
-
61
- #ifndef _DEV_T_
62
- #define _DEV_T_
63
- #ifdef __MSVCRT__
64
- typedef unsigned int _dev_t;
65
- #else
66
- typedef short _dev_t;
67
- #endif
68
-
69
- #ifndef _NO_OLDNAMES
70
- typedef _dev_t dev_t;
71
- #endif
72
- #endif /* Not _DEV_T_ */
73
-
74
-
75
- #ifndef _INO_T_
76
- #define _INO_T_
77
- typedef short _ino_t;
78
-
79
- #ifndef _NO_OLDNAMES
80
- typedef _ino_t ino_t;
81
- #endif
82
- #endif /* Not _INO_T_ */
83
-
84
-
85
- #ifndef _PID_T_
86
- #define _PID_T_
87
- typedef int _pid_t;
88
-
89
- #ifndef _NO_OLDNAMES
90
- typedef _pid_t pid_t;
91
- #endif
92
- #endif /* Not _PID_T_ */
93
-
94
-
95
- #ifndef _MODE_T_
96
- #define _MODE_T_
97
- typedef unsigned short _mode_t;
98
-
99
- #ifndef _NO_OLDNAMES
100
- typedef _mode_t mode_t;
101
- #endif
102
- #endif /* Not _MODE_T_ */
103
-
104
-
105
- #ifndef _SIGSET_T_
106
- #define _SIGSET_T_
107
- typedef int _sigset_t;
108
-
109
- #ifndef _NO_OLDNAMES
110
- typedef _sigset_t sigset_t;
111
- #endif
112
- #endif /* Not _SIGSET_T_ */
113
-
114
- #endif /* Not __STRICT_ANSI__ */
115
-
116
- #endif /* Not RC_INVOKED */
117
-
118
- #endif /* Not _TYPES_H_ */
@@ -1,9 +0,0 @@
1
- /*
2
- * This file is part of the Mingw32 package.
3
- *
4
- * unistd.h maps (roughly) to io.h
5
- */
6
- #ifndef __STRICT_ANSI__
7
- #include <io.h>
8
- #endif
9
-
@@ -1,89 +0,0 @@
1
- /*
2
- * utime.h
3
- *
4
- * Support for the utime function.
5
- *
6
- * This file is part of the Mingw32 package.
7
- *
8
- * Contributors:
9
- * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
10
- *
11
- * THIS SOFTWARE IS NOT COPYRIGHTED
12
- *
13
- * This source code is offered for use in the public domain. You may
14
- * use, modify or distribute it freely.
15
- *
16
- * This code is distributed in the hope that it will be useful but
17
- * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18
- * DISCLAIMED. This includes but is not limited to warranties of
19
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20
- *
21
- * $Revision: 1.2 $
22
- * $Author: bellard $
23
- * $Date: 2005/04/17 13:14:29 $
24
- *
25
- */
26
-
27
- #ifndef __STRICT_ANSI__
28
-
29
- #ifndef _UTIME_H_
30
- #define _UTIME_H_
31
-
32
- /* All the headers include this file. */
33
- #include <_mingw.h>
34
-
35
- #define __need_wchar_t
36
- #define __need_size_t
37
- #ifndef RC_INVOKED
38
- #include <stddef.h>
39
- #endif /* Not RC_INVOKED */
40
- #include <sys/types.h>
41
-
42
- #ifndef RC_INVOKED
43
-
44
- /*
45
- * Structure used by _utime function.
46
- */
47
- struct _utimbuf
48
- {
49
- time_t actime; /* Access time */
50
- time_t modtime; /* Modification time */
51
- };
52
-
53
-
54
- #ifndef _NO_OLDNAMES
55
- /* NOTE: Must be the same as _utimbuf above. */
56
- struct utimbuf
57
- {
58
- time_t actime;
59
- time_t modtime;
60
- };
61
- #endif /* Not _NO_OLDNAMES */
62
-
63
-
64
- #ifdef __cplusplus
65
- extern "C" {
66
- #endif
67
-
68
- int _utime (const char*, struct _utimbuf*);
69
- int _futime (int, struct _utimbuf*);
70
-
71
- /* The wide character version, only available for MSVCRT versions of the
72
- * C runtime library. */
73
- #ifdef __MSVCRT__
74
- int _wutime (const wchar_t*, struct _utimbuf*);
75
- #endif /* MSVCRT runtime */
76
- #ifndef _NO_OLDNAMES
77
- int utime (const char*, struct utimbuf*);
78
- #endif /* Not _NO_OLDNAMES */
79
-
80
- #ifdef __cplusplus
81
- }
82
- #endif
83
-
84
- #endif /* Not RC_INVOKED */
85
-
86
- #endif /* Not _UTIME_H_ */
87
-
88
- #endif /* Not __STRICT_ANSI__ */
89
-