mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-11-23 05:09:18 +01:00
Merge pull request #18 from mid-kid/master
Changes for new devkitARM and ctrulib
This commit is contained in:
commit
f505422c44
@ -39,7 +39,7 @@ APP_AUTHOR := mtheall
|
||||
#---------------------------------------------------------------------------------
|
||||
# options for code generation
|
||||
#---------------------------------------------------------------------------------
|
||||
ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=softfp
|
||||
ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard
|
||||
|
||||
CFLAGS := -g -Wall -O3 -mword-relocations \
|
||||
-fomit-frame-pointer -ffast-math \
|
||||
|
@ -167,10 +167,9 @@ static const size_t num_ftp_commands = sizeof(ftp_commands)/sizeof(ftp_commands[
|
||||
|
||||
static inline int Errno(void)
|
||||
{
|
||||
int err = SOC_GetErrno();
|
||||
if(err < 0)
|
||||
return -err;
|
||||
return err;
|
||||
if(errno < 0)
|
||||
return -errno;
|
||||
return errno;
|
||||
}
|
||||
|
||||
/*! compare ftp command descriptors
|
||||
|
Loading…
Reference in New Issue
Block a user