Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing MS CRT functionality in stddef.h #465

Open
JayFoxRox opened this issue Apr 21, 2021 · 0 comments
Open

Missing MS CRT functionality in stddef.h #465

JayFoxRox opened this issue Apr 21, 2021 · 0 comments

Comments

@JayFoxRox
Copy link
Member

Here's a hack I've been using locally:

#FIXME: Need intptr_t in stddef.h
echo "#pragma once // Generated" > $NXDK_DIR/lib/xboxrt/libc_extensions/stddef_ext_.h
echo "#include <stdint.h>" >> $NXDK_DIR/lib/xboxrt/libc_extensions/stddef_ext_.h
echo "long long int _strtoi64(const char * nptr, char * * endptr, int base );" >> $NXDK_DIR/lib/xboxrt/libc_extensions/stddef_ext_.h
echo "unsigned long long int _strtoui64( const char * s, char ** endptr, int base );" >> $NXDK_DIR/lib/xboxrt/libc_extensions/stddef_ext_.h

There's more functionality in this, but this is enough for my current projects

@JayFoxRox JayFoxRox changed the title Missing MS CRT functionality in sys/stddef.h Missing MS CRT functionality in stddef.h Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant