Skip to content

Commit

Permalink
Merge pull request #14 from Ziemas/ee-v4.4.0
Browse files Browse the repository at this point in the history
Fix build with gcc14
  • Loading branch information
fjtrujy authored May 10, 2024
2 parents de4c896 + 2ea7e65 commit efac6d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion newlib/libc/include/sys/lock.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ typedef struct __lock * _LOCK_T;
extern void __retarget_lock_init(_LOCK_T *lock);
#define __lock_init(lock) __retarget_lock_init(&lock)
extern void __retarget_lock_init_recursive(_LOCK_T *lock);
#define __lock_init_recursive(lock) __retarget_lock_init_recursive(&lock)
#define __lock_init_recursive(lock) __retarget_lock_init_recursive((_LOCK_T*)&lock)
extern void __retarget_lock_close(_LOCK_T lock);
#define __lock_close(lock) __retarget_lock_close(lock)
extern void __retarget_lock_close_recursive(_LOCK_T lock);
Expand Down
2 changes: 1 addition & 1 deletion newlib/libc/include/sys/stat.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ int mkfifo (const char *__path, mode_t __mode );
int stat (const char *__restrict __path, struct stat *__restrict __sbuf );
mode_t umask (mode_t __mask );

#if defined (__SPU__) || defined(__rtems__) || defined(__CYGWIN__)
#if defined (__SPU__) || defined(__rtems__) || defined(__CYGWIN__) || defined(__ps2sdk__)
int lstat (const char *__restrict __path, struct stat *__restrict __buf );
int mknod (const char *__path, mode_t __mode, dev_t __dev );
#endif
Expand Down

0 comments on commit efac6d4

Please sign in to comment.