Changeset a830133 in git for kernel/mmstd.c
- Timestamp:
- Mar 17, 2009, 10:01:46 AM (14 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- ab89373cf4c7ae3f8b064a46e9e311cde2fb9322
- Parents:
- febf7e79089257c80bba7e793dd2fb03af40b285
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/mmstd.c
rfebf7e ra830133 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: mmstd.c,v 1. 4 2007-03-21 17:45:27Singular Exp $ */4 /* $Id: mmstd.c,v 1.5 2009-03-17 09:01:46 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: standard version of C-memory management alloc func … … 11 11 12 12 #define OM_NO_MALLOC_MACROS 13 #ifdef ix86_Win14 #define OMALLOC_USES_MALLOC15 #endif16 #ifdef ppcMac_darwin17 #define OMALLOC_USES_MALLOC18 #endif19 #ifdef ix86Mac_darwin20 #define OMALLOC_USES_MALLOC21 #endif22 13 #include "omalloc.h" 23 14 #include "../Singular/static.h" … … 28 19 // already provided in libomalloc 29 20 #if !defined(OMALLOC_USES_MALLOC) && !defined(X_OMALLOC) && !defined(HAVE_STATIC) 21 /* in mmstd.c, for some architectures freeSize() unconditionally uses the *system* free() */ 22 /* sage ticket 5344: http://trac.sagemath.org/sage_trac/ticket/5344 */ 23 /* solution: correctly check OMALLOC_USES_MALLOC from omalloc.h, */ 24 /* do not rely on the default in Singular as libsingular may be different */ 30 25 31 26 // define this so that all addr allocated there are marked
Note: See TracChangeset
for help on using the changeset viewer.