* gmon.h: Pull in profile.h. Explain why.

This commit is contained in:
Corinna Vinschen 2014-05-22 16:04:37 +00:00
parent e5ec51d44b
commit 582858ff32
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2014-05-22 Corinna Vinschen <corinna@vinschen.de>
* gmon.h: Pull in profile.h. Explain why.
2014-05-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Fix floppy

View File

@ -44,7 +44,23 @@
#define __P(x) x
#endif
/* On POSIX systems, profile.h is a KRB5 header. To avoid collisions, just
pull in profile.h's content here. The profile.h header won't be provided
by Mingw-w64 anymore at one point. */
#if 0
#include <profile.h>
#else
#ifndef _WIN64
#define _MCOUNT_CALL __attribute__ ((regparm (2)))
extern void _mcount(void);
#else
#define _MCOUNT_CALL
extern void mcount(void);
#endif
#define _MCOUNT_DECL __attribute__((gnu_inline)) __inline__ \
void _MCOUNT_CALL _mcount_private
#define MCOUNT
#endif
#ifdef __MINGW32__
#include <_bsd_types.h>