diff options
author | rubidium <rubidium@openttd.org> | 2008-06-03 08:06:58 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-06-03 08:06:58 +0000 |
commit | a3150544430e78d35d847a7bf9e38e5833bbfcd2 (patch) | |
tree | 61aa470715ee535a0744b1421979ab51a573ec9d /src/variables.h | |
parent | 994779e9e288f9400b57f05340c422cd11455bc6 (diff) | |
download | openttd-a3150544430e78d35d847a7bf9e38e5833bbfcd2.tar.xz |
(svn r13370) -Codechange: move the VARDEF stuff from openttd.h to variables.h so one doesn't need to include openttd.h before variables.h.
Diffstat (limited to 'src/variables.h')
-rw-r--r-- | src/variables.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/variables.h b/src/variables.h index 3091fefc2..0304195f2 100644 --- a/src/variables.h +++ b/src/variables.h @@ -5,6 +5,10 @@ #ifndef VARIABLES_H #define VARIABLES_H +#ifndef VARDEF +#define VARDEF extern +#endif + /* Amount of game ticks */ VARDEF uint16 _tick_counter; |