Using python 2.7 on Windows (XP 32bit), pypokereval.c does not compile. The following error is given: ../poker-eval/include\poker_defs.h(52) : error C2146: syntax error : missing ';' before identifier 'uint64' etc. etc.
It appears this can be fixed by moving the block of code which #includes Python.h to immediately after the #include for "enumdefs.h" ... #include "enumdefs.h" #ifdef _DEBUG // for Windows python23_d.lib is not in distribution... ugly but works #undef _DEBUG #include <Python.h> #define _DEBUG #else #include <Python.h> #endif #ifdef WIN32 ... best wishes gimick fpdb.wiki.sourceforge.net _______________________________________________ Pokersource-users mailing list [email protected] https://mail.gna.org/listinfo/pokersource-users
