deal with libc's namespace protection
This commit is contained in:
parent
b37fcdb29c
commit
d7554581c8
|
@ -197,6 +197,9 @@ m4_ifdef( [[M4_YY_TABLES_EXTERNAL]],
|
|||
|
||||
/* 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 @@ m4preproc_include(`flexint.h')
|
|||
|
||||
%if-c++-only
|
||||
/* begin standard C++ headers. */
|
||||
#ifdef _LIBC
|
||||
#include "namespace.h"
|
||||
#endiif
|
||||
#include <iostream>
|
||||
#include <errno.h>
|
||||
#include <cstdlib>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue