]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/cwlex_yy.c
don't write the strings to the stream one char at a time, it's *horribly* slow
[wxWidgets.git] / src / common / cwlex_yy.c
index 67e789afba7751228df67303e4be33b297c094f1..3f675628968ed3478ec0469b4f1302a3fd50635a 100644 (file)
@@ -69,7 +69,7 @@ char *malloc();
 int free();
 */
 
-int read();
+//int read();
 #endif
 
 
@@ -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