Skip to content

Wrap internal malloc in #if PMMALLOC.#2

Open
codesmythe wants to merge 1 commit into
th-otto:masterfrom
codesmythe:disable_pmmalloc
Open

Wrap internal malloc in #if PMMALLOC.#2
codesmythe wants to merge 1 commit into
th-otto:masterfrom
codesmythe:disable_pmmalloc

Conversation

@codesmythe

Copy link
Copy Markdown

PMMALLOC is aleady defined in sysdpend.h, but setting it to 0 does not acually omit the code in pmalloc.c. Wrap the code in pmalloc.c with #if PMMALLOC. This allows the malloc from the compiler's stdlib to be used instead.

PMMALLOC is aleady defined in sysdpend.h, but setting it to 0
does not acually omit the code in pmalloc.c. Wrap the code
in pmalloc.c with #if PMMALLOC.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant