Skip to content

Commit

Permalink
Try again to fix environ warning
Browse files Browse the repository at this point in the history
  • Loading branch information
msteveb committed Sep 4, 2024
1 parent 4bbd22c commit fc49e7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions jim.c
Original file line number Diff line number Diff line change
Expand Up @@ -16291,8 +16291,8 @@ char **Jim_GetEnviron(void)
{
#if defined(HAVE__NSGETENVIRON)
return *_NSGetEnviron();
#elif defined(Jim_Environ)
return Jim_Environ;
#elif defined(_environ)
return _environ;
#else
#if !defined(NO_ENVIRON_EXTERN)
extern char **environ;
Expand Down
1 change: 0 additions & 1 deletion jimiocompat.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ int Jim_OpenForRead(const char *filename);
#define Jim_Stat _stat64
#define Jim_FileStat _fstat64
#define Jim_Lseek _lseeki64
#define Jim_Environ _environ

#else
#if defined(HAVE_STAT64)
Expand Down

0 comments on commit fc49e7b

Please sign in to comment.