]> OCCT Git - occt-wok.git/commitdiff
OCC14794 Patch from GMSH for integration into OCCT 6.2
authorcascade <cascade@opencascade.com>
Fri, 9 Feb 2007 20:14:42 +0000 (20:14 +0000)
committercascade <cascade@opencascade.com>
Fri, 9 Feb 2007 20:14:42 +0000 (20:14 +0000)
src/WOKUnix/WOKUnix_regexp.h

index 1ca13d731978476c9cd788787e6b7567e2930ca4..b3d7f2c14ccf87a7229578d4d25c4d6c37ca9741 100755 (executable)
 #   include <string.h>
 #  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