diff src/if_python3.c @ 2716:0b4a515b1254 v7.3.132

updated for version 7.3.132 Problem: C++ style comments. Solution: Change to C comments.
author Bram Moolenaar <bram@vim.org>
date Fri, 25 Feb 2011 15:18:50 +0100
parents b803b2776880
children 6bbdb9c7a425
line wrap: on
line diff
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -22,8 +22,8 @@
  * Adaptations to support both python3.x and python2.x
  */
 
-// uncomment this if used with the debug version of python
-// #define Py_DEBUG
+/* uncomment this if used with the debug version of python */
+/* #define Py_DEBUG */
 
 #include "vim.h"
 
@@ -74,7 +74,7 @@ static void init_structs(void);
 #define PyString_Size(obj) PyUnicode_GET_SIZE(obj)
 #define PyString_FromString(repr) PyUnicode_FromString(repr)
 
-#if defined(DYNAMIC_PYTHON3)
+#if defined(DYNAMIC_PYTHON3) || defined(PROTO)
 
 # ifndef WIN3264
 #  include <dlfcn.h>