X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fceltic.c;h=890b3982a96d6a2b98c5c0d6bf3665e64b425802;hb=d6b0217f2417bd19187f0ebc389d6c5c2233b11c;hp=6ce4e7074dadb899a8a2e9e749d11c1c33d1bd72;hpb=d1ae2829ff0fd2a96c16a0c8c5420efaa47d7b30;p=xscreensaver diff --git a/hacks/celtic.c b/hacks/celtic.c index 6ce4e707..890b3982 100644 --- a/hacks/celtic.c +++ b/hacks/celtic.c @@ -14,11 +14,12 @@ */ #include -#include #include "screenhack.h" #include "erase.h" #define SQRT_3 1.73205080756887729352 +#undef assert +#define assert(EXP) do { if (!((EXP))) abort(); } while(0) /*-----------------------------------------*/ @@ -838,7 +839,7 @@ static const char *celtic_defaults[] = { "*delay: 10000", "*delay2: 5", "*showGraph: False", -#ifdef USE_IPHONE +#ifdef HAVE_MOBILE "*ignoreRotation: True", #endif 0