From http://www.jwz.org/xscreensaver/xscreensaver-5.37.tar.gz
[xscreensaver] / hacks / m6502.c
index 81aa7df3cd885db74c6a7fed33fbe7dae51643cd..47822abebfc6ae5c76fe221d1e46627395fa2a25 100644 (file)
  * Created: 07-May-2007 
  */
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+#if defined(HAVE_STDINT_H)
 #include <stdint.h> 
+#elif defined(HAVE_INTTYPES_H)
+#include <inttypes.h>
+#endif
 #include <string.h>
 #include "screenhack.h"
 #include "analogtv.h"
@@ -28,7 +35,7 @@ static const char * const demo_files[] = {
 };
 
 
-#ifndef USE_IPHONE
+#ifndef HAVE_MOBILE
 # define READ_FILES
 #endif
 
@@ -244,7 +251,7 @@ m6502_draw (Display *dpy, Window window, void *closure)
     start_rand_bin_prog(st->machine,st);
   }
 
-#ifdef USE_IPHONE
+#ifdef HAVE_MOBILE
   return 0;
 #else
   return 5000;