diff options
author | wez <wez@1665872d-e22b-0410-9e5d-a57ad4215e6d> | 2010-06-27 00:05:03 +0000 |
---|---|---|
committer | wez <wez@1665872d-e22b-0410-9e5d-a57ad4215e6d> | 2010-06-27 00:05:03 +0000 |
commit | d0deba6f8f11c962b43c66b9091c00c814ae51b0 (patch) | |
tree | b3f31bc13b6a95ce4c870aa5c1d055057b586219 | |
parent | 39a56503b09a4a810b1ffce4bdf0fb6efc5fe08f (diff) | |
download | portableumem-master.tar.gz |
I was working in the wrong checkout in my last commit...HEADomniti-svn-trunkmaster
revert it, and make the constructor-ness conditional on not being
"standalone".
git-svn-id: https://labs.omniti.com/portableumem/trunk@61 1665872d-e22b-0410-9e5d-a57ad4215e6d
-rw-r--r-- | umem.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3328,10 +3328,12 @@ fail: return (0); } +#ifndef UMEM_STANDALONE void -__attribute__((section(".init"))) +__attribute__((constructor)) __umem_init (void) { umem_startup(NULL, 0, 0, NULL, NULL); } +#endif |