diff --git a/src/core-utils/core-utils.i b/src/core-utils/core-utils.i index 77c05fb1c2..ca200f4df3 100644 --- a/src/core-utils/core-utils.i +++ b/src/core-utils/core-utils.i @@ -77,6 +77,6 @@ const char * gnc_locale_default_iso_currency_code (void); return gnc_utf8_validate(str, -1, 0); } %} -#elsif defined(SWIGPYTHON) +#elif defined(SWIGPYTHON) gboolean gnc_utf8_validate(const gchar *, gssize, const gchar**); #endif diff --git a/src/engine/business-core.i b/src/engine/business-core.i index f7331fda48..54634616a0 100644 --- a/src/engine/business-core.i +++ b/src/engine/business-core.i @@ -166,7 +166,7 @@ static GncInvoiceList * qof_query_run_for_invoices(QofQuery *q) { SET_ENUM("GNC-INVOICE-VEND-CREDIT-NOTE"); SET_ENUM("GNC-INVOICE-EMPL-CREDIT-NOTE"); -#undefine SET_ENUM +#undef SET_ENUM } } diff --git a/src/engine/engine.i b/src/engine/engine.i index 49cfc23c82..99a1039069 100644 --- a/src/engine/engine.i +++ b/src/engine/engine.i @@ -355,7 +355,7 @@ KvpValue * kvp_frame_get_slot_path_gslist (KvpFrame *frame, GSList *key_path); SET_ENUM("GNC-HOW-RND-ROUND"); SET_ENUM("GNC-HOW-RND-NEVER"); -#undefine SET_ENUM +#undef SET_ENUM } } diff --git a/src/html/gnc-html.i b/src/html/gnc-html.i index d29558d8d8..3c02009675 100644 --- a/src/html/gnc-html.i +++ b/src/html/gnc-html.i @@ -51,7 +51,7 @@ SCM scm_init_sw_gnc_html_module(void); SET_ENUM("URL-TYPE-PRICE"); SET_ENUM("URL-TYPE-OTHER"); -#undefine SET_ENUM +#undef SET_ENUM } }