Changeset 900cea in git


Ignore:
Timestamp:
Feb 20, 2002, 4:30:16 PM (21 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
Children:
a7c2dbcae69f5b83fdb67594276913303071d020
Parents:
972fb17612d377a3b09c54728fbf49382112870d
Message:
*hannes: mac/win port


git-svn-id: file:///usr/local/Singular/svn/trunk@5901 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • omalloc/omalloc.c

    r972fb1 r900cea  
    55 *  Author:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
    66 *  Created: 11/99
    7  *  Version: $Id: omalloc.c,v 1.7 2001-04-30 09:02:12 Singular Exp $
     7 *  Version: $Id: omalloc.c,v 1.8 2002-02-20 15:30:16 Singular Exp $
    88 *******************************************************************/
    99
     
    8585/* on some systems strdup is a macro -- replace it unless OMALLOC_FUNC
    8686   is defined */
    87 #if !defined(OMALOC_FUNC)
     87#ifndef OMALLOC_USES_MALLOC
     88#if !defined(OMALLOC_FUNC)
    8889#undef strdup
    8990#endif
    90 char* strdup(const char* addr)
     91char* strdup_(const char* addr)
    9192{
    9293  char* n_s;
     
    99100  return NULL;
    100101}
     102#endif
    101103void freeSize(void* addr, size_t size)
    102104{
Note: See TracChangeset for help on using the changeset viewer.