standalone-ruby 1.4.2 → 1.5.0

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 (158) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -22
  3. data/lib/data/bat-cmd/default_bat_cmd.txt +9 -9
  4. data/lib/data/c_compilers/tcc/include/_mingw.h +54 -0
  5. data/lib/data/c_compilers/tcc/include/assert.h +71 -0
  6. data/lib/data/c_compilers/tcc/include/conio.h +159 -0
  7. data/lib/data/c_compilers/tcc/include/ctype.h +232 -0
  8. data/lib/data/c_compilers/tcc/include/dir.h +26 -0
  9. data/lib/data/c_compilers/tcc/include/direct.h +95 -0
  10. data/lib/data/c_compilers/tcc/include/dirent.h +96 -0
  11. data/lib/data/c_compilers/tcc/include/dos.h +110 -0
  12. data/lib/data/c_compilers/tcc/include/errno.h +117 -0
  13. data/lib/data/c_compilers/tcc/include/excpt.h +20 -0
  14. data/lib/data/c_compilers/tcc/include/fcntl.h +135 -0
  15. data/lib/data/c_compilers/tcc/include/fenv.h +85 -0
  16. data/lib/data/c_compilers/tcc/include/float.h +224 -0
  17. data/lib/data/c_compilers/tcc/include/inttypes.h +275 -0
  18. data/lib/data/c_compilers/tcc/include/io.h +296 -0
  19. data/lib/data/c_compilers/tcc/include/limits.h +115 -0
  20. data/lib/data/c_compilers/tcc/include/locale.h +100 -0
  21. data/lib/data/c_compilers/tcc/include/malloc.h +87 -0
  22. data/lib/data/c_compilers/tcc/include/math.h +438 -0
  23. data/lib/data/c_compilers/tcc/include/mem.h +8 -0
  24. data/lib/data/c_compilers/tcc/include/memory.h +9 -0
  25. data/lib/data/c_compilers/tcc/include/process.h +158 -0
  26. data/lib/data/c_compilers/tcc/include/setjmp.h +72 -0
  27. data/lib/data/c_compilers/tcc/include/share.h +44 -0
  28. data/lib/data/c_compilers/tcc/include/signal.h +111 -0
  29. data/lib/data/c_compilers/tcc/include/stdarg.h +16 -0
  30. data/lib/data/c_compilers/tcc/include/stdbool.h +10 -0
  31. data/lib/data/c_compilers/tcc/include/stddef.h +26 -0
  32. data/lib/data/c_compilers/tcc/include/stdint.h +184 -0
  33. data/lib/data/c_compilers/tcc/include/stdio.h +413 -0
  34. data/lib/data/c_compilers/tcc/include/stdlib.h +482 -0
  35. data/lib/data/c_compilers/tcc/include/string.h +206 -0
  36. data/lib/data/c_compilers/tcc/include/sys/fcntl.h +8 -0
  37. data/lib/data/c_compilers/tcc/include/sys/file.h +9 -0
  38. data/lib/data/c_compilers/tcc/include/sys/locking.h +52 -0
  39. data/lib/data/c_compilers/tcc/include/sys/stat.h +190 -0
  40. data/lib/data/c_compilers/tcc/include/sys/time.h +3 -0
  41. data/lib/data/c_compilers/tcc/include/sys/timeb.h +82 -0
  42. data/lib/data/c_compilers/tcc/include/sys/types.h +118 -0
  43. data/lib/data/c_compilers/tcc/include/sys/unistd.h +9 -0
  44. data/lib/data/c_compilers/tcc/include/sys/utime.h +89 -0
  45. data/lib/data/c_compilers/tcc/include/tchar.h +367 -0
  46. data/lib/data/c_compilers/tcc/include/time.h +219 -0
  47. data/lib/data/c_compilers/tcc/include/unistd.h +10 -0
  48. data/lib/data/c_compilers/tcc/include/values.h +4 -0
  49. data/lib/data/c_compilers/tcc/include/varargs.h +11 -0
  50. data/lib/data/c_compilers/tcc/include/wchar.h +318 -0
  51. data/lib/data/c_compilers/tcc/include/wctype.h +127 -0
  52. data/lib/data/c_compilers/tcc/include/winapi/basetsd.h +119 -0
  53. data/lib/data/c_compilers/tcc/include/winapi/basetyps.h +144 -0
  54. data/lib/data/c_compilers/tcc/include/winapi/winbase.h +1852 -0
  55. data/lib/data/c_compilers/tcc/include/winapi/wincon.h +207 -0
  56. data/lib/data/c_compilers/tcc/include/winapi/windef.h +240 -0
  57. data/lib/data/c_compilers/tcc/include/winapi/windows.h +176 -0
  58. data/lib/data/c_compilers/tcc/include/winapi/winerror.h +1054 -0
  59. data/lib/data/c_compilers/tcc/include/winapi/wingdi.h +2843 -0
  60. data/lib/data/c_compilers/tcc/include/winapi/winnetwk.h +346 -0
  61. data/lib/data/c_compilers/tcc/include/winapi/winnls.h +651 -0
  62. data/lib/data/c_compilers/tcc/include/winapi/winnt.h +2667 -0
  63. data/lib/data/c_compilers/tcc/include/winapi/winreg.h +159 -0
  64. data/lib/data/c_compilers/tcc/include/winapi/winsvc.h +309 -0
  65. data/lib/data/c_compilers/tcc/include/winapi/winuser.h +3472 -0
  66. data/lib/data/c_compilers/tcc/include/winapi/winver.h +133 -0
  67. data/lib/data/c_compilers/tcc/lib/gdi32.def +337 -0
  68. data/lib/data/c_compilers/tcc/lib/kernel32.def +763 -0
  69. data/lib/data/c_compilers/tcc/lib/libtcc1.a +0 -0
  70. data/lib/data/c_compilers/tcc/lib/msvcrt.def +782 -0
  71. data/lib/data/c_compilers/tcc/lib/user32.def +654 -0
  72. data/lib/data/c_compilers/tcc/tcc.exe +0 -0
  73. data/lib/data/exe_templates/launcher_stub.c +30 -0
  74. data/lib/data/exe_templates/launcher_stub.cpp +31 -0
  75. data/lib/data/launcher_templates/vbs/default_vbs.txt +7 -0
  76. data/lib/data/launcher_templates/vbs/vbs_gui.txt +8 -0
  77. data/lib/data/resource_files/default.rc +17 -0
  78. data/lib/data/tcc/include/_mingw.h +54 -54
  79. data/lib/data/tcc/include/assert.h +71 -71
  80. data/lib/data/tcc/include/conio.h +159 -159
  81. data/lib/data/tcc/include/ctype.h +232 -232
  82. data/lib/data/tcc/include/dir.h +26 -26
  83. data/lib/data/tcc/include/direct.h +95 -95
  84. data/lib/data/tcc/include/dirent.h +96 -96
  85. data/lib/data/tcc/include/dos.h +110 -110
  86. data/lib/data/tcc/include/errno.h +117 -117
  87. data/lib/data/tcc/include/excpt.h +20 -20
  88. data/lib/data/tcc/include/fcntl.h +135 -135
  89. data/lib/data/tcc/include/fenv.h +85 -85
  90. data/lib/data/tcc/include/float.h +224 -224
  91. data/lib/data/tcc/include/inttypes.h +275 -275
  92. data/lib/data/tcc/include/io.h +296 -296
  93. data/lib/data/tcc/include/limits.h +115 -115
  94. data/lib/data/tcc/include/locale.h +100 -100
  95. data/lib/data/tcc/include/malloc.h +87 -87
  96. data/lib/data/tcc/include/math.h +438 -438
  97. data/lib/data/tcc/include/mem.h +8 -8
  98. data/lib/data/tcc/include/memory.h +9 -9
  99. data/lib/data/tcc/include/process.h +158 -158
  100. data/lib/data/tcc/include/setjmp.h +72 -72
  101. data/lib/data/tcc/include/share.h +44 -44
  102. data/lib/data/tcc/include/signal.h +111 -111
  103. data/lib/data/tcc/include/stdarg.h +16 -16
  104. data/lib/data/tcc/include/stdbool.h +10 -10
  105. data/lib/data/tcc/include/stddef.h +26 -26
  106. data/lib/data/tcc/include/stdint.h +184 -184
  107. data/lib/data/tcc/include/stdio.h +413 -413
  108. data/lib/data/tcc/include/stdlib.h +482 -482
  109. data/lib/data/tcc/include/string.h +206 -206
  110. data/lib/data/tcc/include/sys/fcntl.h +8 -8
  111. data/lib/data/tcc/include/sys/file.h +9 -9
  112. data/lib/data/tcc/include/sys/locking.h +52 -52
  113. data/lib/data/tcc/include/sys/stat.h +190 -190
  114. data/lib/data/tcc/include/sys/time.h +3 -3
  115. data/lib/data/tcc/include/sys/timeb.h +82 -82
  116. data/lib/data/tcc/include/sys/types.h +118 -118
  117. data/lib/data/tcc/include/sys/unistd.h +9 -9
  118. data/lib/data/tcc/include/sys/utime.h +89 -89
  119. data/lib/data/tcc/include/tchar.h +367 -367
  120. data/lib/data/tcc/include/time.h +219 -219
  121. data/lib/data/tcc/include/unistd.h +10 -10
  122. data/lib/data/tcc/include/values.h +4 -4
  123. data/lib/data/tcc/include/varargs.h +11 -11
  124. data/lib/data/tcc/include/wchar.h +318 -318
  125. data/lib/data/tcc/include/wctype.h +127 -127
  126. data/lib/data/tcc/include/winapi/basetsd.h +119 -119
  127. data/lib/data/tcc/include/winapi/basetyps.h +144 -144
  128. data/lib/data/tcc/include/winapi/winbase.h +1852 -1852
  129. data/lib/data/tcc/include/winapi/wincon.h +207 -207
  130. data/lib/data/tcc/include/winapi/windef.h +240 -240
  131. data/lib/data/tcc/include/winapi/windows.h +176 -176
  132. data/lib/data/tcc/include/winapi/winerror.h +1054 -1054
  133. data/lib/data/tcc/include/winapi/wingdi.h +2843 -2843
  134. data/lib/data/tcc/include/winapi/winnetwk.h +346 -346
  135. data/lib/data/tcc/include/winapi/winnls.h +651 -651
  136. data/lib/data/tcc/include/winapi/winnt.h +2667 -2667
  137. data/lib/data/tcc/include/winapi/winreg.h +159 -159
  138. data/lib/data/tcc/include/winapi/winsvc.h +309 -309
  139. data/lib/data/tcc/include/winapi/winuser.h +3472 -3472
  140. data/lib/data/tcc/include/winapi/winver.h +133 -133
  141. data/lib/data/tcc/lib/gdi32.def +337 -337
  142. data/lib/data/tcc/lib/kernel32.def +763 -763
  143. data/lib/data/tcc/lib/msvcrt.def +782 -782
  144. data/lib/data/tcc/lib/user32.def +654 -654
  145. data/lib/data/vbs/default_vbs.txt +7 -7
  146. data/lib/data/vbs/vbs_gui.txt +8 -8
  147. data/lib/displayer.rb +66 -0
  148. data/lib/exe_packer.rb +82 -0
  149. data/lib/launcher.rb +84 -0
  150. data/lib/launcher_handler.rb +53 -0
  151. data/lib/logger_helper.rb +24 -0
  152. data/lib/parameter_parser.rb +210 -0
  153. data/lib/ruby_copy.rb +26 -0
  154. data/lib/sfx_generator.rb +11 -0
  155. data/lib/standalone_ruby.rb +1 -1
  156. data/lib/utils/launcher_handler.rb +110 -110
  157. data/lib/version/version.rb +1 -1
  158. metadata +85 -3
@@ -1,118 +1,118 @@
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
+ /*
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 +1,9 @@
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
+ /*
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 +1,89 @@
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
-
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
+