summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
666c0e7)
* mf-hooks2.c (MF_REGISTER_fopen): Define to __MF_TYPE_STATIC when
__FreeBSD__ is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103368
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-08-22 Jim Wilson <wilson@specifix.com>
+
+ * mf-hooks2.c (MF_REGISTER_fopen): Define to __MF_TYPE_STATIC when
+ __FreeBSD__ is defined.
+
2005-08-17 Jim Wilson <wilson@specifix.com>
* mf-hooks1.c (malloc, calloc, realloc, free,
2005-08-17 Jim Wilson <wilson@specifix.com>
* mf-hooks1.c (malloc, calloc, realloc, free,
/* The following indicate if the result of the corresponding function
* should be explicitly un/registered by the wrapper
*/
/* The following indicate if the result of the corresponding function
* should be explicitly un/registered by the wrapper
*/
+
+#ifdef __FreeBSD__
+#define MF_REGISTER_fopen __MF_TYPE_STATIC
+#else
#define MF_RESULT_SIZE_fopen (sizeof (FILE))
#define MF_RESULT_SIZE_fopen (sizeof (FILE))
#undef MF_REGISTER_opendir
#define MF_RESULT_SIZE_opendir 0 /* (sizeof (DIR)) */
#undef MF_REGISTER_readdir
#undef MF_REGISTER_opendir
#define MF_RESULT_SIZE_opendir 0 /* (sizeof (DIR)) */
#undef MF_REGISTER_readdir