Figure out function parameter count at compile time

This should be done at the configure stage, using an Autoconf (or CMake, or whatever) test step — basically, attempting to compile a small program which uses the five-parameter signature, and seeing if it compiles successfully — to determine which version of the library is in use. That can be used to set a preprocessor macro which you can use in an #if block in your code.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)