Skip to content

Commit

Permalink
Update compat.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolf3s authored Jun 8, 2024
1 parent f1c22f3 commit f247d57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ struct sockaddr_storage {
#ifdef _EE
#include <unistd.h>
#else
#ifndef __ps2sdk_iop_
#ifndef __ps2sdk_iop__
#include <alloc.h>
#endif
#include <stdint.h>
Expand Down Expand Up @@ -508,7 +508,7 @@ int iop_connect(int sockfd, struct sockaddr *addr, socklen_t addrlen);
#define read(a,b,c) lwip_recv(a,b,c,MSG_DONTWAIT)
#endif

#ifdef __ps2sdk_iop_
#ifdef __ps2sdk_iop__
void *malloc(int size);

void free(void *ptr);
Expand Down

0 comments on commit f247d57

Please sign in to comment.