* md5.h: Add extern "C" when compiled with C++.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133502
138bc75d-0d04-0410-961f-
82ee72b054a4
#ifndef _MD5_H
#define _MD5_H 1
#ifndef _MD5_H
#define _MD5_H 1
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <stdio.h>
#if defined HAVE_LIMITS_H || _LIBC
#include <stdio.h>
#if defined HAVE_LIMITS_H || _LIBC
typedef unsigned long int md5_uintptr;
#endif
typedef unsigned long int md5_uintptr;
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Structure to save state of computation between the single steps. */
struct md5_ctx
{
/* Structure to save state of computation between the single steps. */
struct md5_ctx
{