VirtualBox

Changeset 909 in kBuild for trunk


Ignore:
Timestamp:
May 24, 2007 3:09:09 AM (18 years ago)
Author:
bird
Message:

A very simple electric fence heap (windows only for now).

Location:
trunk/src/gmakenew
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmakenew/Makefile.kmk

    r903 r909  
    3333TEMPLATE_BIN-KMK_INCS.solaris = glob
    3434TEMPLATE_BIN-KMK_LIBS = $(TEMPLATE_BIN_LIBS) $(TARGET_kmkmissing)
     35ifeq (disabled,) # for electric heap (see electric.c) - windows only.
     36TEMPLATE_BIN-KMK_CFLAGS = $(TEMPLATE_BIN_CFLAGS) /FI$(PATH_CURRENT)/electric.h -DELECTRIC_HEAP=1
     37endif
    3538
    3639
     
    4649        kmkbuiltin/setmode.c \
    4750        kmkbuiltin/strmode.c \
    48         kmkbuiltin/strlcpy.c
     51        kmkbuiltin/strlcpy.c \
     52        electric.c
    4953
    5054kmkmissing_SOURCES.darwin = \
  • trunk/src/gmakenew/glob/glob.c

    r803 r909  
    182182#endif
    183183
    184 #ifndef __GNU_LIBRARY__
     184#if !defined(__GNU_LIBRARY__) && !defined(ELECTRIC_HEAP) /* bird */
    185185# ifdef __GNUC__
    186186__inline
  • trunk/src/gmakenew/misc.c

    r903 r909  
    348348/* Don't bother if we're using dmalloc; it provides these for us.  */
    349349
    350 #ifndef HAVE_DMALLOC_H
     350#if !defined(HAVE_DMALLOC_H) && !defined(ELECTRIC_HEAP) /* bird */
    351351
    352352#undef xmalloc
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette