FreeBSD compilation fixes: rename re_comp and re_exec
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -76,6 +76,12 @@
|
||||
#endif
|
||||
#define __REG_NOFRONT /* don't want regcomp() and regexec() */
|
||||
#define _ANSI_ARGS_(x) x
|
||||
|
||||
/* under FreeBSD re_comp and re_exec are declared (differently) in unistd.h */
|
||||
#ifdef __FreeBSD__
|
||||
#define re_comp wx_re_comp
|
||||
#define re_exec wx_re_exec
|
||||
#endif
|
||||
/* --- end --- */
|
||||
|
||||
/* internal character type and related */
|
||||
|
@@ -115,6 +115,12 @@ extern "C" {
|
||||
#endif
|
||||
#define __REG_NOFRONT /* don't want regcomp() and regexec() */
|
||||
#define _ANSI_ARGS_(x) x
|
||||
|
||||
/* under FreeBSD re_comp and re_exec are declared (differently) in unistd.h */
|
||||
#ifdef __FreeBSD__
|
||||
#define re_comp wx_re_comp
|
||||
#define re_exec wx_re_exec
|
||||
#endif
|
||||
/* --- end --- */
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user