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=89c15c94ba7398a05016af0a308b04f128cd1a2e;p=occt-wok.git OCC14794 Patch from GMSH for integration into OCCT 6.2 --- diff --git a/src/WOKNT/WOKNT_regexp.h b/src/WOKNT/WOKNT_regexp.h index 012a973..836659d 100755 --- a/src/WOKNT/WOKNT_regexp.h +++ b/src/WOKNT/WOKNT_regexp.h @@ -28,16 +28,21 @@ # include # endif /* _INC_STRING */ /***/ -# ifdef __WOKNT_DLL -# define REGEXP_API __declspec( dllexport ) +# if !defined(HAVE_NO_DLL) +# ifdef __WOKNT_DLL +# define REGEXP_API __declspec( dllexport ) +# else +# define REGEXP_API __declspec( dllimport ) +# endif /* __WOKNT_DLL */ # else -# define REGEXP_API __declspec( dllimport ) -# endif /* __OSD_DLL */ +# define REGEXP_API +# endif # else # define _TEXT( arg ) arg # define REGEXP_API # include # include +# include typedef char _TCHAR; typedef char TCHAR; typedef unsigned char _TUCHAR;