From dc12453b029483a9c560d9929bbf5803d2537863 Mon Sep 17 00:00:00 2001 From: Peace-Maker Date: Sat, 21 Apr 2018 10:16:20 +0200 Subject: [PATCH] Fix build against SourceMod 1.9 --- signatures.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/signatures.cpp b/signatures.cpp index af9e03e..eaf220b 100644 --- a/signatures.cpp +++ b/signatures.cpp @@ -281,10 +281,14 @@ SMCResult SignatureGameConfig::ReadSMC_KeyValue(const SMCStates *states, const c flags |= PASSFLAG_OCTOR; else if (strstr(value, "oassignop")) flags |= PASSFLAG_OASSIGNOP; +#ifdef PASSFLAG_OCOPYCTOR else if (strstr(value, "ocopyctor")) flags |= PASSFLAG_OCOPYCTOR; +#endif +#ifdef PASSFLAG_OUNALIGN else if (strstr(value, "ounalign")) flags |= PASSFLAG_OUNALIGN; +#endif g_CurrentArgumentInfo.flags = flags; }