From 50aba285e39eaddf269977f1b2593ceb9256a94c Mon Sep 17 00:00:00 2001 From: cascade Date: Fri, 9 Feb 2007 20:14:42 +0000 Subject: [PATCH] OCC14794 Patch from GMSH for integration into OCCT 6.2 --- src/WOKUnix/WOKUnix_regexp.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/WOKUnix/WOKUnix_regexp.h b/src/WOKUnix/WOKUnix_regexp.h index 1ca13d7..b3d7f2c 100755 --- a/src/WOKUnix/WOKUnix_regexp.h +++ b/src/WOKUnix/WOKUnix_regexp.h @@ -28,11 +28,15 @@ # include # endif /* _INC_STRING */ /***/ -# ifdef __WOKUnix_DLL -# define REGEXP_API __declspec( dllexport ) +# if !defined(HAVE_NO_DLL) +# ifdef __WOKUnix_DLL +# define REGEXP_API __declspec( dllexport ) +# else +# define REGEXP_API __declspec( dllimport ) +# endif /* __WOKUnix_DLL */ # else -# define REGEXP_API __declspec( dllimport ) -# endif /* __OSD_DLL */ +# define REGEXP_API +# endif # else # define _TEXT( arg ) arg # define REGEXP_API -- 2.39.5