Skip to content

Commit

Permalink
🐛 win fix? (use a define)
Browse files Browse the repository at this point in the history
  • Loading branch information
fennecdjay committed May 29, 2023
1 parent 3b1f24d commit c838675
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 144 deletions.
3 changes: 1 addition & 2 deletions include/windows_missing.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ char * strndup(const char *s, size_t n);
char * strsep(char **stringp, const char *delim);
int getline(char **lineptr, size_t *n, FILE *fp);
FILE * fmemopen(void *buf, size_t len, const char *type NUSED);
char * realpath(const char *path, char *resolved_path);

#define realpath(N,R) _fullpath((R),(N),_MAX_PATH)
#ifdef __clang__
#define strdup _strdup

Expand Down
142 changes: 0 additions & 142 deletions windows_missing/realpath.c

This file was deleted.

0 comments on commit c838675

Please sign in to comment.