Changeset 49ea49 in git
- Timestamp:
- Nov 14, 2011, 9:58:53 PM (12 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 8babe7f5911040e9a652f83ae402f78b91d5c3ed
- Parents:
- 3826d071b0fe1a52a0fa5cdc532b9c99960c5018
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-11-14 21:58:53+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-11-15 11:57:52+01:00
- Files:
-
- 6 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
Singular/mmstd.c
r3826d0 r49ea49 11 11 12 12 #include <omalloc/omalloc.h> 13 #include <omalloc/config.h>14 13 #include <omalloc/omConfig.h> 15 14 -
libpolys/misc/mylimits.h
r3826d0 r49ea49 7 7 * Version: $Id$ 8 8 *******************************************************************/ 9 /* on IRIX-6 machines, the values in <limits.h>10 * do not reflect the code generated by gcc -11 * so we have to use our own12 * (will result in "redefining warnings")13 */14 15 9 #ifndef _MYLIMITS_H 16 10 #define _MYLIMITS_H 17 #ifdef IRIX 18 #include <omalloc/omlimits.h> 19 #else 11 20 12 #include <limits.h> 21 #endif22 23 24 13 25 14 static const int MAX_INT_VAL = INT_MAX; 26 15 27 28 29 16 #endif /* _MYLIMITS_H */ -
omalloc/Makefile.am
r3826d0 r49ea49 14 14 omBinPage.h omAllocSystem.h omTables.h \ 15 15 omAllocPrivate.h omDebug.h omInline.h \ 16 omAllocFunc.h omlimits.hmylimits.h16 omAllocFunc.h mylimits.h 17 17 18 18 noinst_HEADERS= omPage.h omDefaultConfig.h omReturn.h omGetPageSize.h \ … … 33 33 libomalloc_g_a_SOURCES=$(SOURCES) $(noinst_HEADERS) 34 34 35 nodist_libomalloc_a_SOURCES = omConfig.h omlimits.hmylimits.h omalloc.h omTables.inc36 nodist_libomalloc_g_a_SOURCES = omConfig.h om limits.h omalloc.h omTables.inc35 nodist_libomalloc_a_SOURCES = omConfig.h mylimits.h omalloc.h omTables.inc 36 nodist_libomalloc_g_a_SOURCES = omConfig.h omalloc.h omTables.inc 37 37 38 libomalloc_a_CPPFLAGS= -DOM_NDEBUG 38 libomalloc_a_CPPFLAGS= -DHAVE_CONFIG_H -DOM_NDEBUG 39 libomalloc_g_a_CPPFLAGS= -DHAVE_CONFIG_H 39 40 40 41 BUILT_SOURCES = omTables.inc omTables.h … … 47 48 48 49 noinst_PROGRAMS = omTables 49 omTables_SOURCES = omAllocPrivate.h omConfig.h omTables.c omlimits.hmylimits.h50 omTables_CPPFLAGS = -DOM_GENERATE_INC 50 omTables_SOURCES = omAllocPrivate.h omConfig.h omTables.c mylimits.h 51 omTables_CPPFLAGS = -DOM_GENERATE_INC -DHAVE_CONFIG_H 51 52 52 53 CLEANFILES = $(BUILT_SOURCES) … … 63 64 64 65 omtTest_g_SOURCES = $(OMTTESTSSOURCES) 66 omtTest_g_CPPFLAGS = -DHAVE_CONFIG_H 65 67 omtTest_g_CFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long 66 68 omtTest_g_LDADD = -lomalloc_g … … 68 70 omtTest_m: libomalloc_g.a 69 71 70 omtTest_m_CPPFLAGS = -DOM_TEST_MALLOC 72 omtTest_m_CPPFLAGS = -DOM_TEST_MALLOC -DHAVE_CONFIG_H 71 73 omtTest_m_SOURCES = $(OMTTESTSSOURCES) 72 74 omtTest_m_LDADD = -lomalloc_g -
omalloc/configure.ac
r3826d0 r49ea49 12 12 AC_CONFIG_AUX_DIR([.]) 13 13 14 AC_CONFIG_HEADER(omConfig.h) 15 14 16 AM_MAINTAINER_MODE 15 17 AM_INIT_AUTOMAKE([omalloc],[0.9.6]) 18 19 # Add pre'prefixed config 20 AX_PREFIX_CONFIG_H([omConfig.h],[],[omConfig.h]) 16 21 17 22 AC_SUBST(VERSION) … … 581 586 dnl wrap it up 582 587 dnl 583 AC_CONFIG_HEADER(config.h omConfig.h omlimits.h)584 588 AC_CONFIG_FILES([Makefile]) 585 589 AC_OUTPUT -
omalloc/mylimits.h
r3826d0 r49ea49 7 7 * Version: $Id$ 8 8 *******************************************************************/ 9 /* on IRIX-6 machines, the values in <limits.h>10 * do not reflect the code generated by gcc -11 * so we have to use our own12 * (will result in "redefining warnings")13 */14 9 15 10 #ifndef _MYLIMITS_H 11 #define _MYLIMITS_H 16 12 17 #ifdef IRIX18 #include <omalloc/omlimits.h>19 #else20 13 #include <limits.h> 21 14 22 #endif23 24 25 26 //static const int MAX_INT_VAL = INT_MAX;27 28 29 30 15 #endif /* _MYLIMITS_H */ -
omalloc/omMalloc.h
r3826d0 r49ea49 9 9 #define OM_MALLOC_H 10 10 11 #include " config.h"11 #include "omalloc/omConfig.h" 12 12 13 13 #ifdef OMALLOC_USES_SYSTEM_MALLOC
Note: See TracChangeset
for help on using the changeset viewer.