aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--profile.c2
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);