X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fceltic.c;h=890b3982a96d6a2b98c5c0d6bf3665e64b425802;hp=6ce4e7074dadb899a8a2e9e749d11c1c33d1bd72;hb=aa75c7476aeaa84cf3abc192b376a8b03c325213;hpb=88cfe534a698a0562e81345957a50714af1453bc 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