]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/cwlex_yy.c
another assert added to check incorrect use of ctor
[wxWidgets.git] / src / common / cwlex_yy.c
index 67e789afba7751228df67303e4be33b297c094f1..96e91c1ca90d2898d91dffbe635039e94f2af365 100644 (file)
@@ -192,7 +192,7 @@ extern char *malloc();
 #endif
 #define Return(x) return x;
 
-#if defined(VMS) && !defined(strdup)
+#if defined(VMS) && ( __VMS_VER < 70000000 )
 #define strdup(s) (strcpy((char *)malloc(strlen(s)+1), s));
 #endif