@@ -123,10 +123,6 @@ struct utsname {
123
123
* trivial stubs
124
124
*/
125
125
126
- static inline int readlink (const char * path , char * buf , size_t bufsiz )
127
- { errno = ENOSYS ; return -1 ; }
128
- static inline int symlink (const char * oldpath , const char * newpath )
129
- { errno = ENOSYS ; return -1 ; }
130
126
static inline int fchmod (int fildes , mode_t mode )
131
127
{ errno = ENOSYS ; return -1 ; }
132
128
#ifndef __MINGW64_VERSION_MAJOR
@@ -218,6 +214,8 @@ int setitimer(int type, struct itimerval *in, struct itimerval *out);
218
214
int sigaction (int sig , struct sigaction * in , struct sigaction * out );
219
215
int link (const char * oldpath , const char * newpath );
220
216
int uname (struct utsname * buf );
217
+ int symlink (const char * target , const char * link );
218
+ int readlink (const char * path , char * buf , size_t bufsiz );
221
219
222
220
/*
223
221
* replacements of existing functions
@@ -447,6 +445,8 @@ static inline void convert_slashes(char *path)
447
445
int mingw_offset_1st_component (const char * path );
448
446
#define offset_1st_component mingw_offset_1st_component
449
447
#define PATH_SEP ';'
448
+ extern char * mingw_query_user_email (void );
449
+ #define query_user_email mingw_query_user_email
450
450
#if !defined(__MINGW64_VERSION_MAJOR ) && (!defined(_MSC_VER ) || _MSC_VER < 1800 )
451
451
#define PRIuMAX "I64u"
452
452
#define PRId64 "I64d"
0 commit comments