summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.h6
-rw-r--r--src/actions/target.cpp4
2 files changed, 9 insertions, 1 deletions
diff --git a/src/actions/actions.h b/src/actions/actions.h
index 2b32545da..f2407f936 100644
--- a/src/actions/actions.h
+++ b/src/actions/actions.h
@@ -80,7 +80,11 @@ namespace Actions
decHandler(dump);
decHandler(serverIgnoreAll);
decHandler(serverUnIgnoreAll);
- decHandler(error) __attribute__ ((noreturn));
+ decHandler(error)
+#ifndef ENABLE_CILKPLUS
+ __attribute__ ((noreturn))
+#endif
+ ;
decHandler(dumpGraphics);
decHandler(dumpEnvironment);
decHandler(dumpTests);
diff --git a/src/actions/target.cpp b/src/actions/target.cpp
index 7195f5d0c..b4a2c8058 100644
--- a/src/actions/target.cpp
+++ b/src/actions/target.cpp
@@ -72,6 +72,8 @@ impHandler0(targetMercenary)
{
#ifdef EATHENA_SUPPORT
return setTarget(ActorType::Mercenary, true);
+#else
+ return false;
#endif
}
@@ -79,6 +81,8 @@ impHandler0(targetPet)
{
#ifdef EATHENA_SUPPORT
return setTarget(ActorType::Pet, true);
+#else
+ return false;
#endif
}