Module Name:    src
Committed By:   christos
Date:           Wed Oct 28 05:04:02 UTC 2009

Modified Files:
        src/external/bsd/flex/dist: flex.skl initscan.c

Log Message:
deal with libc's namespace protection


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/flex/dist/flex.skl
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/flex/dist/initscan.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/flex/dist/flex.skl
diff -u src/external/bsd/flex/dist/flex.skl:1.2 src/external/bsd/flex/dist/flex.skl:1.3
--- src/external/bsd/flex/dist/flex.skl:1.2	Mon Oct 26 21:44:01 2009
+++ src/external/bsd/flex/dist/flex.skl	Wed Oct 28 01:04:02 2009
@@ -197,6 +197,9 @@
 
 /* begin standard C headers. */
 %if-c-only
+#ifdef _LIBC
+#include "namespace.h"
+#endif
 #include <stdio.h>
 #include <string.h>
 #include <errno.h>
@@ -215,6 +218,9 @@
 
 %if-c++-only
 /* begin standard C++ headers. */
+#ifdef _LIBC
+#include "namespace.h"
+#endiif
 #include <iostream> 
 #include <errno.h>
 #include <cstdlib>

Index: src/external/bsd/flex/dist/initscan.c
diff -u src/external/bsd/flex/dist/initscan.c:1.1 src/external/bsd/flex/dist/initscan.c:1.2
--- src/external/bsd/flex/dist/initscan.c:1.1	Mon Oct 26 00:27:15 2009
+++ src/external/bsd/flex/dist/initscan.c	Wed Oct 28 01:04:02 2009
@@ -16,6 +16,9 @@
 /* First, we deal with  platform-specific or compiler-specific issues. */
 
 /* begin standard C headers. */
+#ifdef _LIBC
+#include "namespace.h"
+#endif
 #include <stdio.h>
 #include <string.h>
 #include <errno.h>

Reply via email to