Skip to content

Commit

Permalink
Change _arch_dreamcast to __DREAMCAST__
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolf3s committed Jun 3, 2024
1 parent 00cd398 commit 60b5657
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/portable-endian.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#define htole64(x) (x)
#define le64toh(x) (x)

#elif defined(_arch_dreamcast)
#elif defined(__DREAMCAST__)

#include <machine/endian.h>

Expand Down
2 changes: 1 addition & 1 deletion lib/compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#define smb2_srandom srand
#endif

#ifdef _arch_dreamcast
#ifdef __DREAMCAST__
#include <stdlib.h>
#include <string.h>
#include <sys/errno.h>
Expand Down
4 changes: 2 additions & 2 deletions lib/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ int getlogin_r(char *buf, size_t size);

#endif /* PICO_PLATFORM */

#ifdef _arch_dreamcast
#ifdef __DREAMCAST__

#include <netdb.h>
#include <unistd.h>
Expand All @@ -315,7 +315,7 @@ ssize_t readv(t_socket fd, const struct iovec *iov, int iovcnt);

int getlogin_r(char *buf, size_t size);

#endif /* _arch_dreamcast */
#endif /* __DREAMCAST__ */

#if defined(__amigaos4__) || defined(__AMIGA__) || defined(__AROS__)
#include <errno.h>
Expand Down

0 comments on commit 60b5657

Please sign in to comment.