1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

(SCM_FUNC_CAST_ARBITRARY_ARGS): Use "SCM (*)()" for C++

as well.  "SCM (*)(...)" does not work on RedHat 7.1.
This commit is contained in:
Marius Vollmer 2001-05-06 21:19:53 +00:00
parent 7874f3d000
commit e1fbffa9f4

View file

@ -52,7 +52,12 @@
#if defined(__cplusplus) || defined(GUILE_CPLUSPLUS_SNARF)
#define SCM_FUNC_CAST_ARBITRARY_ARGS SCM (*)(...)
/* This used to be "SCM (*)(...)" but GCC on RedHat 7.1 doesn't seem
to like it.
*/
#define SCM_FUNC_CAST_ARBITRARY_ARGS SCM (*)()
#else
#define SCM_FUNC_CAST_ARBITRARY_ARGS SCM (*)()
#endif