]> git.sur5r.net Git - cc65/commitdiff
Made compatible with the Apple ][ machines, but without timing (like mandelbrot).
authorol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 3 Oct 2009 11:17:39 +0000 (11:17 +0000)
committerol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 3 Oct 2009 11:17:39 +0000 (11:17 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4315 b7a2c559-68d2-44c3-8de9-860c34a00d81

samples/sieve.c

index 7294954dccf7f52bf7245076676067fc888f667c..ada8a37b1cec80515c89253f6981f8afdf016fa0 100644 (file)
 #include <conio.h>
 
 
+/* Workaround missing clock stuff */
+#if defined(__APPLE2__) || defined(__APPLE2ENH__)
+#  define clock()              0
+#  define CLOCKS_PER_SEC       1
+#endif
+
+
 
 /*****************************************************************************/
 /*                                          Data                                    */