From 89c15c94ba7398a05016af0a308b04f128cd1a2e 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/WOKNT/WOKNT_regexp.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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; -- 2.39.5