From: cascade Date: Fri, 9 Feb 2007 20:14:42 +0000 (+0000) Subject: OCC14794 Patch from GMSH for integration into OCCT 6.2 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=50aba285e39eaddf269977f1b2593ceb9256a94c;p=occt-wok.git OCC14794 Patch from GMSH for integration into OCCT 6.2 --- 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