summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl/lib/CORE/win32iop.h
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tlperl/lib/CORE/win32iop.h')
-rw-r--r--Master/tlpkg/tlperl/lib/CORE/win32iop.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/tlpkg/tlperl/lib/CORE/win32iop.h b/Master/tlpkg/tlperl/lib/CORE/win32iop.h
index 373e3e37ce9..207c9176e56 100644
--- a/Master/tlpkg/tlperl/lib/CORE/win32iop.h
+++ b/Master/tlpkg/tlperl/lib/CORE/win32iop.h
@@ -13,11 +13,7 @@
#endif
#endif
-#if defined(_MSC_VER) || defined(__MINGW32__)
-# include <sys/utime.h>
-#else
-# include <utime.h>
-#endif
+#include <sys/utime.h>
/*
* defines for flock emulation
@@ -126,6 +122,8 @@ DllExport void win32_rewinddir(DIR *dirp);
DllExport int win32_closedir(DIR *dirp);
DllExport DIR* win32_dirp_dup(DIR *const dirp, CLONE_PARAMS *const param);
+DllExport char* win32_getenvironmentstrings(void);
+/* also see win32_freeenvironmentstrings macro */
DllExport char* win32_getenv(const char *name);
DllExport int win32_putenv(const char *name);
@@ -162,6 +160,8 @@ DllExport Sighandler_t win32_signal(int sig, Sighandler_t subcode);
END_EXTERN_C
+/* see comment in win32_getenvironmentstrings */
+#define win32_freeenvironmentstrings(x) win32_free(x)
#undef alarm
#define alarm win32_alarm
#undef strerror