summaryrefslogtreecommitdiff
path: root/src/bin/main.h
diff options
context:
space:
mode:
authordoursse <doursse>2008-05-25 05:15:21 +0000
committerdoursse <doursse@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2008-05-25 05:15:21 +0000
commitada9638cbece8b3fb6d79eacfd7dc844537b2e7d (patch)
treebd4697e22acad6869102f4b51df9045e1b50b1d0 /src/bin/main.h
parent6df0eef45f5c6cff7cdbf5ab2ff3dad4b6beff30 (diff)
add guards around config.h
SVN revision: 34662
Diffstat (limited to 'src/bin/main.h')
-rw-r--r--src/bin/main.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/bin/main.h b/src/bin/main.h
index e96aa42..5c687b9 100644
--- a/src/bin/main.h
+++ b/src/bin/main.h
@@ -1,6 +1,10 @@
1#ifndef MAIN_H 1#ifndef MAIN_H
2#define MAIN_H 2#define MAIN_H
3 3
4#ifdef HAVE_CONFIG_H
5# include "config.h"
6#endif
7
4#include <stdio.h> 8#include <stdio.h>
5#include <stdlib.h> 9#include <stdlib.h>
6#include <string.h> 10#include <string.h>
@@ -13,7 +17,6 @@
13#endif 17#endif
14 18
15#include <Evas.h> 19#include <Evas.h>
16#include "config.h"
17#if HAVE_EVAS_SOFTWARE_X11 20#if HAVE_EVAS_SOFTWARE_X11
18#include "engine_software_x11.h" 21#include "engine_software_x11.h"
19#endif 22#endif
@@ -50,6 +53,7 @@
50#if HAVE_EVAS_DIRECTFB 53#if HAVE_EVAS_DIRECTFB
51#include "engine_directfb.h" 54#include "engine_directfb.h"
52#endif 55#endif
56
53#include "ui.h" 57#include "ui.h"
54#include "about.h" 58#include "about.h"
55 59
@@ -58,12 +62,12 @@
58extern Evas *evas; 62extern Evas *evas;
59extern int win_w, win_h; 63extern int win_w, win_h;
60 64
61void srnd(void); 65void srnd(void);
62unsigned int rnd(void); 66unsigned int rnd(void);
63double get_time(void); 67double get_time(void);
64const char *build_path(const char *filename); 68const char *build_path(const char *filename);
65void engine_loop(void); 69void engine_loop(void);
66int engine_abort(void); 70int engine_abort(void);
67 71
68#define KEY_STD \ 72#define KEY_STD \
69 if ((!strcmp(key, "Escape")) || (!strcmp(key, "q")) || (!strcmp(key, "Q")) || (!strcmp(key, "Return"))) \ 73 if ((!strcmp(key, "Escape")) || (!strcmp(key, "q")) || (!strcmp(key, "Q")) || (!strcmp(key, "Return"))) \