Skip to content

Instantly share code, notes, and snippets.

@sgur
Created September 18, 2015 02:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sgur/83664c06e2edd03e4626 to your computer and use it in GitHub Desktop.
Save sgur/83664c06e2edd03e4626 to your computer and use it in GitHub Desktop.
Diff for fixing DYNAMIC_PYTHON=yes and DYNAMIC_PYTHON3=no
# HG changeset patch
# Parent cd910522d384c9a59efb5e7101470c193c971f66
diff -r cd910522d384 src/if_python3.c
--- a/src/if_python3.c Fri Sep 18 11:11:13 2015 +0900
+++ b/src/if_python3.c Fri Sep 18 11:12:21 2015 +0900
@@ -828,7 +828,7 @@
--recurse;
}
-#if (defined(DYNAMIC_PYTHON) && defined(FEAT_PYTHON)) || defined(PROTO)
+#if (defined(DYNAMIC_PYTHON3) && defined(FEAT_PYTHON)) || defined(PROTO)
int
python3_loaded()
{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment