projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.37.tar.gz
[xscreensaver]
/
hacks
/
m6502.c
diff --git
a/hacks/m6502.c
b/hacks/m6502.c
index 81aa7df3cd885db74c6a7fed33fbe7dae51643cd..47822abebfc6ae5c76fe221d1e46627395fa2a25 100644
(file)
--- a/
hacks/m6502.c
+++ b/
hacks/m6502.c
@@
-12,7
+12,14
@@
* Created: 07-May-2007
*/
* Created: 07-May-2007
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+#if defined(HAVE_STDINT_H)
#include <stdint.h>
#include <stdint.h>
+#elif defined(HAVE_INTTYPES_H)
+#include <inttypes.h>
+#endif
#include <string.h>
#include "screenhack.h"
#include "analogtv.h"
#include <string.h>
#include "screenhack.h"
#include "analogtv.h"
@@
-28,7
+35,7
@@
static const char * const demo_files[] = {
};
};
-#ifndef
USE_IPHON
E
+#ifndef
HAVE_MOBIL
E
# define READ_FILES
#endif
# define READ_FILES
#endif
@@
-244,7
+251,7
@@
m6502_draw (Display *dpy, Window window, void *closure)
start_rand_bin_prog(st->machine,st);
}
start_rand_bin_prog(st->machine,st);
}
-#ifdef
USE_IPHON
E
+#ifdef
HAVE_MOBIL
E
return 0;
#else
return 5000;
return 0;
#else
return 5000;