X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fpiecewise.c;h=e0de4c65e5cb7219bf791b745c1c60b916497701;hp=d8cc58d5e947465ee71c60c62f82b3bdf32f1b35;hb=ccb7f4903325f92555a9722bba74b58346654ba0;hpb=0d6b320def9180cf907ceaed56b23a972a11b757 diff --git a/hacks/piecewise.c b/hacks/piecewise.c index d8cc58d5..e0de4c65 100644 --- a/hacks/piecewise.c +++ b/hacks/piecewise.c @@ -18,6 +18,11 @@ # include "xdbe.h" #endif /* HAVE_DOUBLE_BUFFER_EXTENSION */ +#if !defined( __GNUC__ ) && !defined(__cplusplus) && !defined(c_plusplus) +#undef inline +#define inline /* */ +#endif + #define X_PI (180 * 64) /******** splaying code */