Fixed compilation error on OS/2 (strnlen declaration was not visible).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2009-02-01 06:08:56 +00:00
parent 16519fd473
commit 6d8978f030

View File

@@ -403,6 +403,10 @@
# ifdef __EMX__ # ifdef __EMX__
# define OS2EMX_PLAIN_CHAR # define OS2EMX_PLAIN_CHAR
# endif
# if defined(__INNOTEK_LIBC__)
/* Ensure visibility of strnlen declaration */
# define _GNU_SOURCE
# endif # endif
/* define __HPUX__ for HP-UX where standard macro is __hpux */ /* define __HPUX__ for HP-UX where standard macro is __hpux */