aboutsummaryrefslogtreecommitdiffstats
path: root/examples/helloworld-complex/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/helloworld-complex/src/main.cpp')
-rw-r--r--examples/helloworld-complex/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/helloworld-complex/src/main.cpp b/examples/helloworld-complex/src/main.cpp
index 691c401e5..8827c1e5e 100644
--- a/examples/helloworld-complex/src/main.cpp
+++ b/examples/helloworld-complex/src/main.cpp
@@ -67,9 +67,9 @@
int main()
{
someUsefulFunction();
-#ifdef _DEBUG
+#if defined(HAS_DEBUG)
puts("Hello World! (debug version)");
-#else
+#elif defined(HAS_RELEASE)
puts("Hello World! (release version)");
#endif
#ifdef HAS_SPECIAL_FEATURE