Changeset 8d0069 in git


Ignore:
Timestamp:
Mar 22, 2001, 11:39:11 PM (22 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
4f85e4e9d3aad5369c5922537d1798f80d436e30
Parents:
5589c00e8f0a98f97d11c3da49fce9bdf4334de0
Message:
*hannes: mylimits.h.in


git-svn-id: file:///usr/local/Singular/svn/trunk@5332 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
omalloc
Files:
1 added
11 edited

Legend:

Unmodified
Added
Removed
  • omalloc/Makefile.in

    r5589c0 r8d0069  
    44### Author:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
    55### Created: 11/99
    6 ### Version: $Id: Makefile.in,v 1.8 2001-01-27 17:03:38 obachman Exp $
     6### Version: $Id: Makefile.in,v 1.9 2001-03-22 22:39:05 Singular Exp $
    77#################################################################
    88
     
    7676ASO_SOURCES =
    7777
    78 HEADERS=                                                        \
    79 om_Alloc.h              omList.h              omDerivedConfig.h \
     78HEADERS=        mylimits.h                                      \
     79om_Alloc.h             omList.h               omDerivedConfig.h \
    8080omAllocDecl.h          omConfig.h             omMemOps.h        \
    8181omDebug.h              omOpts.h               omInlineDecl.h    \
     
    9696
    9797DISTFILES=$(SOURCES) $(HEADERS) omtTest.h makeheader.pl Makefile.in \
    98            omConfig.h.in configure.in mkinstalldirs install-sh configure
     98           omConfig.h.in mylimits.h configure.in mkinstalldirs install-sh configure
    9999
    100100##
    101101## Build Targets
    102102##
    103 %.o: %.c omConfig.h omTables.h omalloc.h omTables.inc
     103%.o: %.c omConfig.h mylimits.h omTables.h omalloc.h omTables.inc
    104104        ${CC} ${CFLAGS} ${CPPFLAGS} ${DEFS} -c $<
    105105
    106 %.o_ndebug: %.c omConfig.h omTables.h omalloc.h omTables.inc
     106%.o_ndebug: %.c omConfig.h mylimits.h omTables.h omalloc.h omTables.inc
    107107        ${CC} ${CFLAGS} ${CPPFLAGS} ${DEFS} -DOM_NDEBUG -c $< -o $@
    108108
     
    118118lib: libomalloc.a
    119119
    120 libomalloc.a: $(OBJS) Makefile omConfig.h
     120libomalloc.a: $(OBJS) Makefile omConfig.h mylimits.h
    121121        rm -f $@
    122122        $(AR) cr $@ $(OBJS)
    123123        $(RANLIB) $@
    124124
    125 libomalloc_ndebug.a: $(OBJS_NDEBUG) Makefile omConfig.h
     125libomalloc_ndebug.a: $(OBJS_NDEBUG) Makefile omConfig.h mylimits.h
    126126        rm -f $@
    127127        $(AR) cr $@ $(OBJS_NDEBUG)
     
    143143        ./omTables 1 >$@
    144144
    145 omTables: omAllocPrivate.h omConfig.h omTables.c
     145omTables: omAllocPrivate.h omConfig.h omTables.c mylimits.h
    146146        ${CC} ${CFLAGS} ${CPPFLAGS} ${DEFS} -DOM_GENERATE_INC omTables.c -o omTables
    147147
     
    169169# configure related stuff
    170170#
    171 omConfig.h omMalloc.h: stamp-h
    172 
    173 stamp-h : config.status omConfig.h.in ${OM_MALLOC_HEADER}
    174         CONFIG_FILES= CONFIG_HEADERS="omConfig.h omMalloc.h:${OM_MALLOC_HEADER}" ./config.status
     171omConfig.h omMalloc.h mylimits.h: stamp-h
     172
     173stamp-h : config.status omConfig.h.in mylimits.h.in ${OM_MALLOC_HEADER}
     174        CONFIG_FILES= CONFIG_HEADERS="omConfig.h mylimits.h omMalloc.h:${OM_MALLOC_HEADER}" ./config.status
    175175
    176176Makefile: Makefile.in config.status
     
    199199        $(INSTALL_DATA) omalloc.o omalloc_debug.o $(libdir)
    200200        $(INSTALL_DATA) omalloc.h omalloc.c $(includedir)
     201        $(INSTALL_DATA) mylimits.h omalloc.c $(includedir)
    201202
    202203
     
    228229        -rm -f  *~ .\#*  stamp-h configure omMalloc.h
    229230        rm -rf omalloc-$(VERSION)
    230         -rm -f omConfig.h Makefile TAGS* tags config.status config.cache config.log
     231        -rm -f omConfig.h mylimits.h Makefile TAGS* tags config.status config.cache config.log
    231232
    232233srcclean: distclean
     
    237238.PHONY: TAGS
    238239
    239 TAGS:   omConfig.h.in
    240         etags omConfig.h.in $(SOURCES) $(HEADERS)
     240TAGS:   omConfig.h.in mylimits.h.in
     241        etags omConfig.h.in mylimits.h.in $(SOURCES) $(HEADERS)
    241242
    242243##
     
    264265OBJG := $(CSOURCES:.c=.og) $(GSOURCES:.c=.og)
    265266
    266 %.og: %.c omConfig.h omTables.h omalloc.h
     267%.og: %.c omConfig.h omTables.h omalloc.h mylimits.h
    267268        $(CCG) ${CFLAGSG} ${CPPFLAGS} ${DEFSG} -c $< -o $@
    268269
    269270libg: libomalloc_g.a
    270271
    271 libomalloc_g.a: $(OBJG) Makefile omConfig.h
     272libomalloc_g.a: $(OBJG) Makefile omConfig.h mylimits.h
    272273        rm -f $@
    273274        $(AR) cr $@ $(OBJG)
     
    280281OBJD := $(CSOURCES:%.c=%_d.og) $(GSOURCES:%.c=%_d.og)
    281282
    282 %_d.c : %.c omConfig.h omTables.h omalloc.h
     283%_d.c : %.c omConfig.h omTables.h omalloc.h mylimits.h
    283284        $(CCG) -E -P $< | $(PERL) -p -e 's/;/;\n/g' | $(PERL) -p -e 's/\{/\n\{/g' | $(PERL) -p -e 's/\}/\n\}/g' > $@
    284285.PRECIOUS: %_d.c
     
    286287libd: libomalloc_d.a
    287288
    288 libomalloc_d.a: $(OBJD) Makefile omConfig.h
     289libomalloc_d.a: $(OBJD) Makefile omConfig.h mylimits.h
    289290        rm -f $@
    290291        $(AR) cr $@ $(OBJD)
     
    306307## Profile Targets
    307308##
    308 %.op: %.c omConfig.h omTables.h omalloc.h
     309%.op: %.c omConfig.h omTables.h omalloc.h mylimits.h
    309310        $(CCP) ${CFLAGSP} ${CPPFLAGS} ${DEFSP} -c $< -o $@
    310311
    311312libp: libomalloc_p.a
    312313
    313 libomalloc_p.a: $(OBJP) Makefile omConfig.h
     314libomalloc_p.a: $(OBJP) Makefile omConfig.h mylimits.h
    314315        rm -f $@
    315316        $(AR) cr $@ $(OBJP)
     
    334335## Profile Targets
    335336##
    336 %.ob: %.c omConfig.h omTables.h omalloc.h
     337%.ob: %.c omConfig.h omTables.h omalloc.h mylimits.h
    337338        $(CCB) ${CFLAGSB} ${CPPFLAGS} ${DEFSB} -c $< -o $@
    338339
    339340libb: libomalloc_b.a
    340341
    341 libomalloc_b.a: $(OBJB) Makefile omConfig.h
     342libomalloc_b.a: $(OBJB) Makefile omConfig.h mylimits.h
    342343        rm -f $@
    343344        $(AR) cr $@ $(OBJB)
     
    389390## Dependencies
    390391##
    391 %.d: %.c omConfig.h Makefile omTables.h omTables.inc omalloc.h
     392%.d: %.c omConfig.h mylimits.h Makefile omTables.h omTables.inc omalloc.h
    392393        echo $(@:.d=.o_ndebug) $(@:.d=.og) $(@:.d=.od)  $(@:.d=.op) $(@:.d=.ob) $(@:.d=_d.c) $(@:.d=.om)" " \\ > $@
    393394        $(CCM) ${CPPFLAGS} ${DEFSG} $< >> $@
    394395
    395 depend:   $(CSOURCES:.c=.d) omConfig.h $(TESTSOURCES:.c=.d)
     396depend:   $(CSOURCES:.c=.d) omConfig.h mylimits.h $(TESTSOURCES:.c=.d)
    396397        cat *.d >depend
    397398
  • omalloc/configure

    r5589c0 r8d0069  
    3232ac_help="$ac_help
    3333 --with-provide-malloc=yes|debug|malloc
    34                     provide normal|debug|underlying malloc ANSI-C conforming 
     34                    provide normal|debug|underlying malloc ANSI-C conforming
    3535                    versions of malloc|calloc|realloc|free"
    3636ac_help="$ac_help
     
    3838                    provide only omallocs interface, but do not use its features"
    3939ac_help="$ac_help
    40  --with-align=8|sloppy|strict 
    41                     how memory is aligned, 
     40 --with-align=8|sloppy|strict
     41                    how memory is aligned,
    4242                    default: if possible sloppy, else strict"
    4343ac_help="$ac_help
     
    5858 --with-track-custom track custom values"
    5959ac_help="$ac_help
    60  --with-internal-debug       
     60 --with-internal-debug
    6161                       turn on internal debugging"
    6262
     
    675675  :
    676676fi
    677  
     677
    678678# Check whether --with-internal_debug or --without-internal_debug was given.
    679679if test "${with_internal_debug+set}" = set; then
     
    18181818fi
    18191819
    1820 # can not really handle pagesizes which are greater -- there must be a 
     1820# can not really handle pagesizes which are greater -- there must be a
    18211821# bug somewhere
    18221822if test $ac_cv_pagesize -gt 8192; then
     
    18891889#line 1890 "configure"
    18901890#include "confdefs.h"
    1891  
    1892 main() 
     1891
     1892main()
    18931893{
    1894   void* ptr = (void*) malloc(12); 
    1895   double* d_ptr; 
    1896   if ((unsigned long) ptr % 8 == 0) ptr = ptr + 4; 
     1894  void* ptr = (void*) malloc(12);
     1895  double* d_ptr;
     1896  if ((unsigned long) ptr % 8 == 0) ptr = ptr + 4;
    18971897  d_ptr = (double*) ptr;
    18981898  *d_ptr = (double) 1.1;
     
    19621962  OM_MALLOC_SOURCE=pmalloc.c
    19631963elif test "${with_malloc}" = external; then
    1964   if test "${with_external_malloc_h+set}" != set; then 
     1964  if test "${with_external_malloc_h+set}" != set; then
    19651965    { echo "configure: error: need --with_external_malloc_h for external malloc" 1>&2; exit 1; }
    19661966  fi
     
    19741974EOF
    19751975
    1976 else 
     1976else
    19771977  with_malloc=dlmalloc
    19781978  OM_MALLOC_HEADER=dlmalloc.h
     
    20412041
    20422042fi
    2043  
     2043
    20442044if test "${with_provide_malloc}" = malloc; then
    20452045   cat >> confdefs.h <<\EOF
     
    21662166else
    21672167  ac_cv_align="sloppy"
    2168 fi     
     2168fi
    21692169fi
    21702170echo "$ac_t""$ac_cv_align" 1>&6
     
    23252325int main()
    23262326{
    2327    int i;       
     2327   int i;
    23282328   omInitGetBackTrace();
    23292329   i = test_backtrace();
     
    23802380  int i;
    23812381  struct omRetInfo_s info;
    2382  
     2382
    23832383  GET_RET_ADDR(bt);
    23842384  i = omBackTrace_2_RetInfo(&bt, &info, 1);
     
    23862386}
    23872387
    2388  
    23892388int main(int argc, char** argv)
    23902389{
     
    23972396
    23982397EOF
    2399 if { (eval echo configure:2400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2398if { (eval echo configure:2399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    24002399then
    24012400  ac_cv_prog_addr2line_works=yes
     
    24122411
    24132412echo "$ac_t""$ac_cv_prog_addr2line_works" 1>&6
    2414  
     2413
    24152414echo $ac_n "checking whether to track return addresses""... $ac_c" 1>&6
    2416 echo "configure:2417: checking whether to track return addresses" >&5
     2415echo "configure:2416: checking whether to track return addresses" >&5
    24172416if test "$with_track_return" = no || test "$ac_cv_get_return_addr_works" = no || test "$ac_cv_prog_addr2line_works" != yes; then
    24182417  with_track_return=no
     
    24272426
    24282427echo $ac_n "checking whether to track files and line numbers""... $ac_c" 1>&6
    2429 echo "configure:2430: checking whether to track files and line numbers" >&5
     2428echo "configure:2429: checking whether to track files and line numbers" >&5
    24302429if test "$with_track_fl" = no && test "$with_track_return" = no; then
    24312430  with_track_fl=yes
    24322431fi
    2433 if test "${with_track_fl+set}" != set; then 
     2432if test "${with_track_fl+set}" != set; then
    24342433  if test "$with_track_return" = yes; then
    24352434    with_track_fl=no
     
    24392438fi
    24402439echo "$ac_t""$with_track_fl" 1>&6
    2441 if test "$with_track_fl" = yes; then 
     2440if test "$with_track_fl" = yes; then
    24422441  cat >> confdefs.h <<\EOF
    24432442#define OM_TRACK_FILE_LINE 1
     
    24472446
    24482447echo $ac_n "checking whether to track stack backtraces""... $ac_c" 1>&6
    2449 echo "configure:2450: checking whether to track stack backtraces" >&5
     2448echo "configure:2449: checking whether to track stack backtraces" >&5
    24502449if test "$with_track" != no && test "$ac_cv_get_backtrace_works" = yes && test "$with_track_backtrace" != no && test "$ac_cv_prog_addr2line_works" = yes; then
    24512450  with_track_backtrace=yes
     
    24602459
    24612460echo $ac_n "checking whether to track custom values""... $ac_c" 1>&6
    2462 echo "configure:2463: checking whether to track custom values" >&5 
     2461echo "configure:2462: checking whether to track custom values" >&5
    24632462if test "$with_track" != no && test "$with_track_custom" = yes; then
    24642463  cat >> confdefs.h <<\EOF
     
    24702469fi
    24712470echo "$ac_t""$with_track_custom" 1>&6
    2472 
    24732471
    24742472
     
    25752573ac_given_INSTALL="$INSTALL"
    25762574
    2577 trap 'rm -fr `echo "Makefile omConfig.h omMalloc.h:${OM_MALLOC_HEADER}" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     2575trap 'rm -fr `echo "Makefile omConfig.h mylimits.h omMalloc.h:${OM_MALLOC_HEADER}" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
    25782576EOF
    25792577cat >> $CONFIG_STATUS <<EOF
     
    27452743EOF
    27462744cat >> $CONFIG_STATUS <<EOF
    2747   CONFIG_HEADERS="omConfig.h omMalloc.h:${OM_MALLOC_HEADER}"
     2745  CONFIG_HEADERS="omConfig.h mylimits.h omMalloc.h:${OM_MALLOC_HEADER}"
    27482746EOF
    27492747cat >> $CONFIG_STATUS <<\EOF
     
    28432841test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
    28442842
    2845 
    2846 
    2847 
    2848 
  • omalloc/configure.in

    r5589c0 r8d0069  
    44dnl Author:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
    55dnl Created: 11/99
    6 dnl Version: $Id: configure.in,v 1.12 2001-01-27 17:03:39 obachman Exp $
     6dnl Version: $Id: configure.in,v 1.13 2001-03-22 22:39:07 Singular Exp $
    77dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
    88
     
    4242  provide-malloc,
    4343  [ --with-provide-malloc=yes|debug|malloc
    44                     provide normal|debug|underlying malloc ANSI-C conforming 
     44                    provide normal|debug|underlying malloc ANSI-C conforming
    4545                    versions of malloc|calloc|realloc|free])
    4646AC_ARG_WITH(
     
    5050AC_ARG_WITH(
    5151  align,
    52   [ --with-align=8|sloppy|strict 
    53                     how memory is aligned, 
     52  [ --with-align=8|sloppy|strict
     53                    how memory is aligned,
    5454                    default: if possible sloppy, else strict])
    5555AC_ARG_WITH(
     
    7676AC_ARG_WITH(
    7777  track-custom,
    78   [ --with-track-custom track custom values]) 
     78  [ --with-track-custom track custom values])
    7979AC_ARG_WITH(
    8080  internal_debug,
    81   [ --with-internal-debug       
     81  [ --with-internal-debug
    8282                       turn on internal debugging])
    8383dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
     
    161161  exit(0);
    162162}], ac_cv_pagesize=`cat conftestval`, ac_cv_pagesize=0, ac_cv_pagesize=0))
    163 # can not really handle pagesizes which are greater -- there must be a 
     163# can not really handle pagesizes which are greater -- there must be a
    164164# bug somewhere
    165165if test $ac_cv_pagesize -gt 8192; then
     
    198198dnl
    199199AC_CACHE_CHECK(whether alignment needs to be strict, ac_cv_align_need_strict,
    200 AC_TRY_RUN([ 
    201 main() 
    202 {
    203   void* ptr = (void*) malloc(12); 
    204   double* d_ptr; 
    205   if ((unsigned long) ptr % 8 == 0) ptr = ptr + 4; 
     200AC_TRY_RUN([
     201main()
     202{
     203  void* ptr = (void*) malloc(12);
     204  double* d_ptr;
     205  if ((unsigned long) ptr % 8 == 0) ptr = ptr + 4;
    206206  d_ptr = (double*) ptr;
    207207  *d_ptr = (double) 1.1;
     
    250250  OM_MALLOC_SOURCE=pmalloc.c
    251251elif test "${with_malloc}" = external; then
    252   if test "${with_external_malloc_h+set}" != set; then 
     252  if test "${with_external_malloc_h+set}" != set; then
    253253    AC_MSG_ERROR(need --with_external_malloc_h for external malloc)
    254254  fi
     
    259259  OM_MALLOC_SOURCE=$with_external_malloc_c
    260260  AC_DEFINE(OMALLOC_USES_MALLOC)
    261 else 
     261else
    262262  with_malloc=dlmalloc
    263263  OM_MALLOC_HEADER=dlmalloc.h
     
    300300AC_DEFINE(OM_MALLOC_PROVIDES_SIZEOF_ADDR)
    301301fi
    302  
     302
    303303if test "${with_provide_malloc}" = malloc; then
    304304   AC_DEFINE(OM_PROVIDE_MALLOC, 3)
     
    375375
    376376dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
    377 dnl alignment 
     377dnl alignment
    378378dnl
    379379AC_MSG_CHECKING(how to align)
     
    387387else
    388388  ac_cv_align="sloppy"
    389 fi     
     389fi
    390390fi
    391391AC_MSG_RESULT($ac_cv_align)
     
    462462   exit(! test_return_addr());
    463463}
    464 ], ac_cv_get_return_addr_works=yes, 
     464], ac_cv_get_return_addr_works=yes,
    465465   ac_cv_get_return_addr_works=no,
    466466   ac_cv_get_return_addr_works=no))
     
    483483int main()
    484484{
    485    int i;       
     485   int i;
    486486   omInitGetBackTrace();
    487487   i = test_backtrace();
     
    489489   else exit(i+1);
    490490}
    491 ], ac_cv_get_backtrace_works=yes, 
     491], ac_cv_get_backtrace_works=yes,
    492492   ac_cv_get_backtrace_works=no,
    493493   ac_cv_get_backtrace_works=no))
     
    513513  int i;
    514514  struct omRetInfo_s info;
    515  
     515
    516516  GET_RET_ADDR(bt);
    517517  i = omBackTrace_2_RetInfo(&bt, &info, 1);
     
    519519}
    520520
    521  
    522521int main(int argc, char** argv)
    523522{
     
    528527  else exit (i+10);
    529528}
    530 ], ac_cv_prog_addr2line_works=yes, 
     529], ac_cv_prog_addr2line_works=yes,
    531530   ac_cv_prog_addr2line_works=no,
    532531   ac_cv_prog_addr2line_works=no))
    533532AC_MSG_RESULT($ac_cv_prog_addr2line_works)
    534  
     533
    535534AC_MSG_CHECKING(whether to track return addresses)
    536535if test "$with_track_return" = no || test "$ac_cv_get_return_addr_works" = no || test "$ac_cv_prog_addr2line_works" != yes; then
     
    546545  with_track_fl=yes
    547546fi
    548 if test "${with_track_fl+set}" != set; then 
     547if test "${with_track_fl+set}" != set; then
    549548  if test "$with_track_return" = yes; then
    550549    with_track_fl=no
     
    554553fi
    555554AC_MSG_RESULT($with_track_fl)
    556 if test "$with_track_fl" = yes; then 
     555if test "$with_track_fl" = yes; then
    557556  AC_DEFINE(OM_TRACK_FILE_LINE)
    558557fi
     
    567566AC_MSG_RESULT($with_track_backtrace)
    568567
    569 AC_MSG_CHECKING(whether to track custom values) 
     568AC_MSG_CHECKING(whether to track custom values)
    570569if test "$with_track" != no && test "$with_track_custom" = yes; then
    571570  AC_DEFINE(OM_TRACK_CUSTOM)
     
    578577dnl wrap it up
    579578dnl
    580 AC_CONFIG_HEADER(omConfig.h omMalloc.h:${OM_MALLOC_HEADER})
    581 
     579AC_CONFIG_HEADER(omConfig.h mylimits.h omMalloc.h:${OM_MALLOC_HEADER})
    582580
    583581AC_OUTPUT(Makefile, \
    584582 if test "$CONFIG_HEADERS"; then echo timestamp > stamp-h; fi)
    585 
    586 
    587 
    588 
  • omalloc/gmalloc.c

    r5589c0 r8d0069  
    33 *  Purpose: implementation of malloc and friends from libc of
    44 *           Linux kernel version 5
    5  *  Version: $Id: gmalloc.c,v 1.4 2000-08-14 12:26:38 obachman Exp $
     5 *  Version: $Id: gmalloc.c,v 1.5 2001-03-22 22:39:07 Singular Exp $
    66 *******************************************************************/
    77#include "omMalloc.h"
     
    5353
    5454#if defined (__GNU_LIBRARY__) || (defined (__STDC__) && __STDC__)
    55 #include <limits.h>
     55#include <mylimits.h>
    5656#else
    5757#ifndef CHAR_BIT
  • omalloc/omAllocSystem.c

    r5589c0 r8d0069  
    44 *  Author:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
    55 *  Created: 11/99
    6  *  Version: $Id: omAllocSystem.c,v 1.7 2000-12-12 15:26:15 obachman Exp $
     6 *  Version: $Id: omAllocSystem.c,v 1.8 2001-03-22 22:39:08 Singular Exp $
    77 *******************************************************************/
    88#ifndef OM_ALLOC_SYSTEM_C
     
    1010
    1111#include <unistd.h>
    12 #include <limits.h>
     12#include <mylimits.h>
    1313
    1414
  • omalloc/omBinPage.c

    r5589c0 r8d0069  
    44 *  Author:  obachman (Olaf Bachmann)
    55 *  Created: 11/99
    6  *  Version: $Id: omBinPage.c,v 1.6 2000-12-12 15:26:16 obachman Exp $
     6 *  Version: $Id: omBinPage.c,v 1.7 2001-03-22 22:39:09 Singular Exp $
    77 *******************************************************************/
    8 #include <limits.h>
     8#include <mylimits.h>
    99#include "om_Alloc.h"
    1010#include "omDefaultConfig.h"
  • omalloc/omDebug.c

    r5589c0 r8d0069  
    44 *  Author:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
    55 *  Created: 7/00
    6  *  Version: $Id: omDebug.c,v 1.13 2000-12-12 15:26:16 obachman Exp $
     6 *  Version: $Id: omDebug.c,v 1.14 2001-03-22 22:39:09 Singular Exp $
    77 *******************************************************************/
    8 #include <limits.h>
     8#include <mylimits.h>
    99#include <string.h>
    1010#include "omConfig.h"
  • omalloc/omDebugCheck.c

    r5589c0 r8d0069  
    44 *  Author:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
    55 *  Created: 11/99
    6  *  Version: $Id: omDebugCheck.c,v 1.11 2000-12-12 15:26:16 obachman Exp $
     6 *  Version: $Id: omDebugCheck.c,v 1.12 2001-03-22 22:39:09 Singular Exp $
    77 *******************************************************************/
    8 #include <limits.h>
     8#include <mylimits.h>
    99#include <stdarg.h>
    1010
  • omalloc/omDebugTrack.c

    r5589c0 r8d0069  
    44 *  Author:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
    55 *  Created: 11/99
    6  *  Version: $Id: omDebugTrack.c,v 1.12 2000-12-12 15:26:17 obachman Exp $
     6 *  Version: $Id: omDebugTrack.c,v 1.13 2001-03-22 22:39:10 Singular Exp $
    77 *******************************************************************/
    8 #include <limits.h>
     8#include <mylimits.h>
    99#include <string.h>
    1010#include "omConfig.h"
  • omalloc/omDefaultConfig.h

    r5589c0 r8d0069  
    44 *  Author:  obachman (Olaf Bachmann)
    55 *  Created: 11/99
    6  *  Version: $Id: omDefaultConfig.h,v 1.6 2001-03-12 19:14:28 obachman Exp $
     6 *  Version: $Id: omDefaultConfig.h,v 1.7 2001-03-22 22:39:10 Singular Exp $
    77 *******************************************************************/
    88
     
    2323  the global om_Opts struct.
    2424********************************************************************/
    25 #include <limits.h>
     25#include <mylimits.h>
    2626#include "omConfig.h"
    2727/* if external config was provided, 'make' makes links from it to omExternalConfig.h */
  • omalloc/omtTest.h

    r5589c0 r8d0069  
    11#include <time.h>
    22#include <string.h>
    3 #include <limits.h>
     3#include <mylimits.h>
    44
    55#define TRACK_LEVEL   1
Note: See TracChangeset for help on using the changeset viewer.