mirror of git://gcc.gnu.org/git/gcc.git
Fix this patch:
* md5.h: Add extern "C" when compiled with C++. From-SVN: r133502
This commit is contained in:
parent
538de5e6f0
commit
8e291ddfb2
|
@ -21,10 +21,6 @@
|
||||||
#ifndef _MD5_H
|
#ifndef _MD5_H
|
||||||
#define _MD5_H 1
|
#define _MD5_H 1
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#if defined HAVE_LIMITS_H || _LIBC
|
#if defined HAVE_LIMITS_H || _LIBC
|
||||||
|
@ -76,6 +72,10 @@ typedef uintptr_t md5_uintptr;
|
||||||
typedef unsigned long int md5_uintptr;
|
typedef unsigned long int md5_uintptr;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Structure to save state of computation between the single steps. */
|
/* Structure to save state of computation between the single steps. */
|
||||||
struct md5_ctx
|
struct md5_ctx
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue