]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed compilation error on OS/2 (strnlen declaration was not visible).
authorStefan Neis <Stefan.Neis@t-online.de>
Sun, 1 Feb 2009 06:08:56 +0000 (06:08 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sun, 1 Feb 2009 06:08:56 +0000 (06:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/platform.h

index 7e1124426eef93a0e2870354aec67c66a9087e98..d6c317db1fd71b7ffe8d31f5118aac8454345556 100644 (file)
 
 #    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 */