X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c65f4634bc616e389f0d99ae71be7d585f3b2c54..58b6a13764b3f3d118a83a5b8bb7ffc6b40a09cc:/include/wx/platform.h diff --git a/include/wx/platform.h b/include/wx/platform.h index 7e1124426e..d6c317db1f 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -403,6 +403,10 @@ # ifdef __EMX__ # define OS2EMX_PLAIN_CHAR +# endif +# if defined(__INNOTEK_LIBC__) + /* Ensure visibility of strnlen declaration */ +# define _GNU_SOURCE # endif /* define __HPUX__ for HP-UX where standard macro is __hpux */