From ef135e7a0b99f25b8e36dbe112c950b97d2057d2 Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Tue, 5 Jan 2016 20:56:08 -0300 Subject: Change macro _ALLOW_UNMANTAINED to _ENABLE_UNMANTAINED --- Makefile | 2 +- profile.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f1a44d8..08aa2ec 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CC=clang # Enable _ALLOW_UNMANTAINED for non Linux systems -CFLAGS=-Wall -Wextra -O0 -g # -D_ALLOW_UNMANTAINED +CFLAGS=-Wall -Wextra -O0 -g # -D_ENABLE_UNMANTAINED EXE=profile SOURCES=profile.c diff --git a/profile.c b/profile.c index c447f08..7bccfc4 100644 --- a/profile.c +++ b/profile.c @@ -141,7 +141,7 @@ int main(int argc, char **argv) printf("voluntary context switches: %ld\n", usage.ru_nvcsw); printf("involuntary context switches: %ld\n", usage.ru_nivcsw); -#ifdef _ALLOW_UNMANTAINED +#ifdef _ENABLE_UNMANTAINED printf("integral shared memory size: %ld\n", usage.ru_ixrss); printf("integral unshared data size: %ld\n", usage.ru_idrss); printf("integral unshared stack size: %ld\n", usage.ru_isrss); -- cgit v1.2.3-70-g09d2